
$ python func_param.py
4 is maximum
7 is maximum
In the first usage of printMax, we directly supply the numbers i.e. arguments. In the second usage, we call the function using variables.printMax(x, y) causes value of argumentx to be assigned to parametera and the value of argumenty assigned to parameterb. The printMax function works the same in both the cases.
Describe what you're looking for in as much detail as you'd like.
Our AI reads your request and finds the best matching books for you.
Popular searches:
Join 2 million readers and get unlimited free ebooks