Lesson 38 of 62 ยท about 15 minutes
*args and **kwargs ๐๏ธ
*args and **kwargs ๐๏ธ Some functions need to accept any number of values. print() takes as many arguments as you like, and max(3, 9, 4) works with two values or twenty. You can build functions like that yourself with a star or two. *args: any number ofโฆ
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.