Created
November 26, 2020 13:35
-
-
Save ppdms/50c73e30bbf2ec49421d49227bae4024 to your computer and use it in GitHub Desktop.
I run this on a small display, placed next to a picture of cherries blossoming in Kyoto.
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
# 天国は京都に一人でいること。 | |
from time import sleep | |
from sys import exit | |
while True: | |
try: | |
print(""" | |
e|-----5-------5-------5-------5-----| | |
B|-----------------------------------| | |
G|-----------0---2-----------0---2---| | |
D|-------0-2-------------0-2---------| | |
A|-0-------------------------------0-| | |
E|-----------------------------------|\n""") | |
sleep(1) | |
except KeyboardInterrupt: | |
print(""" | |
e|----------------0--------------------------------------------------0~~| | |
B|----0-----3--0-----3-----0-----------------------------------------0~~| | |
G|-------2--------------2--------0--2-----------0--2--------0-----2--4~~| | |
D|-2--------------------------2--------0--3--2--------0--2-----3-----4~~| | |
A|-------------------------------3-----1-----3-----1-----3-----1-----2~~| | |
E|-0-----1-----3-----1-----0-----------------------------------------x--| | |
元気で。\n""") | |
exit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hopefully the translations are right lol