Skip to content

Instantly share code, notes, and snippets.

Created March 12, 2012 07:37
Show Gist options
  • Save anonymous/2020491 to your computer and use it in GitHub Desktop.
Save anonymous/2020491 to your computer and use it in GitHub Desktop.
def countdown(a):
for i in a:
print a - i
if i == 3:
print "blast off!"
break
i+=1
countdown(3):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment