concept num in category python

appears as: num, num
Get Programming: Learn to code with Python

This is an excerpt from Manning's book Get Programming: Learn to code with Python.

num is less than 10
Finished
Figure 13.1. The flow of the code in listing 13.1. The result of asking the question in the diamond determines whether you execute another statement of code.

Figure 22.1 shows how you might draw a trace of a program. The one tricky thing is that you have two variables named num. But because they’re in different scopes, they don’t interfere with each other.

sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest