September 2013
Intermediate to advanced
350 pages
9h 38m
English
Here are some exercises for you to try on your own. Solutions are available at http://pragprog.com/titles/gwpy2/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