Thursday, December 31, 2015

Program: New-Year countdown.

Since it's really close to the end of the year, I decided to program a new year countdown. It uses the keyword raw_input a lot. I will explain that in a diffrant post.

raw_input("count-down to new year in...")
raw_input("10")
raw_input("9")
raw_input("8")
raw_input("7")
raw_input("6")
raw_input("5")
raw_input("4")
raw_input("3")
raw_input("2")
raw_input("1")
print "Happy New-Year!"



No comments:

Post a Comment