Nitin

36%
Flag icon
If our function uses a normal argument (also known as a formal argument), a non-keyworded variable length argument list and a keyworded variable length argument list, we must define the function using the following order: def someFunction2(farg, *args, **kwargs): That is, the formal argument must come first, followed by the non-keyworded argument and the keyworded argument in that order.
Learn Python in One Day and Learn It Well: Python for Beginners with Hands-on Project
Rate this book
Clear rating
Open Preview