| 1.1 |
Our first real program 8 |
| 1.2 |
Number-guessing game 12 |
| 5.1 |
Getting a string using raw_input 47 |
| 5.2 |
What does the comma do? 48 |
| 5.3 |
Converting temperatures using raw_input() 50 |
| 5.4 |
Getting input from a file on the Web 52 |
| 6.1 |
Getting input using buttons 58 |
| 6.2 |
Getting input using a choice box 59 |
| 6.3 |
Getting input using an enter box 60 |
| 6.4 |
How to make default choices 61 |
| 6.5 |
Number-guessing game using EasyGui 62 |
| 7.1 |
Using the comparison operators 70 |
| 8.1 |
A very simple for loop 79 |
| 8.2 |
Doing something different each time through the for loop 80 |
| 8.3 |
Printing the 8 times table 81 |
| 8.4 |
A loop using range() 82 |
| 8.5 |
Printing the 8 times table up to 10 using range() 84 |
| 8.6 |
Ready for lift-off? ... |