Skip to content

Instantly share code, notes, and snippets.

@nwiizo
Last active November 22, 2016 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nwiizo/838d41d3a64a73db856ffe1e5acf2c4d to your computer and use it in GitHub Desktop.
Save nwiizo/838d41d3a64a73db856ffe1e5acf2c4d to your computer and use it in GitHub Desktop.
#!/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