Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain the use of *args, **kwargs?



Explain the use of *args, **kwargs?..

Answer / Bhupendra Kumar

*args allows you to pass any number and type of positional arguments as a tuple. **kwargs does the same for keyword arguments as a dictionary. They are useful when you want to write flexible functions that can accept an arbitrary number of arguments.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What do you understand by the term deep copy?

1 Answers  


How can you get the google cache age of any url or web page?

1 Answers  


Explain classifier.

2 Answers  


What is python magic method?

1 Answers  


Which method removes and returns last object of a list?

1 Answers  


What are classes in programming?

1 Answers  


How to send an email in Python?

2 Answers  


Explain the difference between a list and the tuple?

1 Answers  


Which is the default function in a class?

1 Answers  


How many rows can pandas handle?

1 Answers  


Is geany free?

1 Answers  


What is deep copy in python?

1 Answers  


Categories