December 2000
Intermediate to advanced
816 pages
16h 57m
English
Functions are called using the same pair of parentheses that you are used to. In fact, some consider ( ( ) ) to be a two-character operator, the function operator. As you are probably aware, any input parameters or arguments must be placed between these calling parentheses. Parentheses are also used as part of function declarations to define those arguments. Although we have yet to formally study classes and object-oriented programming, you will discover that the function operator is also used in Python for class instantiation.
The concept of keyword arguments applies only to function invocation. The idea here is for the caller to identify the arguments by parameter ...
Read now
Unlock full access