Created
September 27, 2011 09:49
-
-
Save adaptives/1244709 to your computer and use it in GitHub Desktop.
LPTHW Exercise 33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # LPTHW Exercise 33 | |
| i = 0 | |
| numbers = [] | |
| while i < 6: | |
| print "At the top i is %d" % i | |
| numbers.append(i) | |
| i = i + 1 | |
| print "Numbers now: ", numbers | |
| print "At the bottom i is %d" % i | |
| print "The numbers: " | |
| for num in numbers: | |
| print num |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment