December 2017
Beginner
412 pages
10h 8m
English
Here are some exercises for you to try on your own. Solutions are available at http://pragprog.com/titles/gwpy3/practical-programming.
Two of Python’s built-in functions are min and max. In the Python shell, execute the following function calls:
For the following function calls, in what order are the subexpressions evaluated?
Following the function design recipe, define a function that has one parameter, a number, and returns that number tripled.
Following the function design recipe, define a function that has two parameters, both of which are numbers, and returns the absolute ...
Read now
Unlock full access