Sometimes, when you look at a function definition in Python, you might see that it takes two strange arguments: *args
and **kwargs
. If you’ve ever wondered what these peculiar variables are, or why your IDE defines them in main()
, then this course is for you! You’ll learn how to use args and kwargs in Python to add more flexibility to your functions.
By the end of the course, you’ll know:
*args
and **kwargs
actually mean*args
and **kwargs
in function definitions*
) to unpack iterables**
) to unpack dictionariesThis course assumes that you already know how to define Python functions and work with lists and dictionaries.
What’s Included:
Downloadable Resources:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4