Last active
November 22, 2016 04:53
-
-
Save nwiizo/838d41d3a64a73db856ffe1e5acf2c4d 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/env python3 | |
# -*- coding: utf-8 -*- | |
import sys, time | |
sushi = [ | |
" 🍣 ", | |
" 🍣 ", | |
" 🍣 ", | |
" 🍣 ", | |
" 🍣 ", | |
" 🍣 ", | |
" 🍣 ", | |
" 🍣 ", | |
"🍣 " | |
] | |
kanzyo = True | |
ryoukin = 0 | |
while kanzyo: | |
try: | |
for nigiri in sushi: | |
sys.stdout.write("\r%s" % nigiri) | |
sys.stdout.flush() | |
time.sleep(0.1) | |
ryoukin = ryoukin + 100 | |
except: | |
kanzyo = False | |
print("") | |
print("へい!お勘定は %s になります。" % (ryoukin)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment