Skip to content

Instantly share code, notes, and snippets.

Created December 31, 2014 23:48
Show Gist options
  • Save anonymous/61d4250f0ebf1f91ee26 to your computer and use it in GitHub Desktop.
Save anonymous/61d4250f0ebf1f91ee26 to your computer and use it in GitHub Desktop.
New Years Countdown
from datetime import *
import time
lastyear=date.today().year
print 'Current Year:' + str(lastyear)
while lastyear==date.today().year:
print str(datetime(lastyear+1,1,1) - datetime.now()).split('.')[0]
time.sleep(1)
print '''
________
\ / __
\~~~~/ ## ## #### ##### ##### ## ## //
\ / ## ## ## ## ## ## ## ## ## ## ** //
|| ###### ###### ##### ##### #### ****//
|| ## ## ## ## ## ## ## \**\/
|| ## ## ## ## ## ## ##
__||__
\ / /
xxx xxxx . . \ : :/
xx xxxx xx . '*` .
xx xx xx xx '***` /
xx xx xxxx xx xx / *
xx xx xx xx xx xx / \ \
xx xx xxxxx xx xx xx / .
xx xx xx xx xx xx xx / . \ \
xx xx xxxxxx xxx xx
xx xx xx \O
xx xx xx T>
xxx xx / \
. \O/ xx xx xx xxxx xxxx xx xxx
._T_. xx xx xx xx xx xx xxx xx
xx xx xxxxx xxxxx xx
. xx xx xx xx xx xx xx
^ xx xx xxxxxx xxxxx xx
O/ xxxxxx xx x
<T \O/ xx
/ \ T . xx . .
/ \ \O/ xx .
T xx xx
. / \ xxxx .
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment