Last active
September 23, 2016 23:35
-
-
Save hansdg1/9b72b77c4bc3f09d9d7ff92abe3789d9 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/python | |
count = 0 | |
while count < 9: | |
print 'The count is', count | |
count += 1 #remember this could be count = count + 1 | |
## It prints: | |
# The count is 0 | |
# The count is 1 | |
# The count is 2 | |
# The count is 3 | |
# The count is 4 | |
# The count is 5 | |
# The count is 6 | |
# The count is 7 | |
# The count is 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment