Skip to content

Instantly share code, notes, and snippets.

@ppdms
Created November 26, 2020 13:35
Show Gist options
  • Save ppdms/50c73e30bbf2ec49421d49227bae4024 to your computer and use it in GitHub Desktop.
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.
# 天国は京都に一人でいること。
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()
@ppdms
Copy link
Author

ppdms commented Nov 26, 2020

hopefully the translations are right lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment