concept num in category python
appears as: num, num

This is an excerpt from Manning's book Get Programming: Learn to code with Python.
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.