April 2018
Beginner to intermediate
227 pages
4h 53m
English
In this chapter, we shift from turtle graphics to handling numeric information in Python.
Example 2.1 shows one way to implement our own version of the built-in max() function1 described in Table 2.1. It illustrates several important new concepts.

Example 2.1 Maximum.
TABLE 2.1 Numeric functions

Variables
As we saw in Chapter 1, variables allow us to keep track of and manipulate data in programs. In Python, a variable is a name that refers to a value during program execution. ...
Read now
Unlock full access