Python 3.4 - Variable Arguments

 Your functions may be collecting large amounts of arguments to be used and you don't want to assign an argument for each, or you imply may not know how many arguments someone will input. Either way, you can use the *args and **kwargs arguments to accept different type of variable-length arguments.

https://www.protechtraining.com/content/python_fundamentals_tutorial-functions

https://www.youtube.com/watch?v=QSTo9F8E6GE

Comments

Popular posts from this blog

Pyhton 3.4 - Continue

Conversations Ongoing: Valuing Modernization in Early European History

Conversations Ongoing: A Bunch of Amateurs