-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhalloween_2024.py
50 lines (41 loc) · 1.05 KB
/
halloween_2024.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Jacobus Burger (2024-10-30)
# A fun tradition I do every Halloween, like how "Grinch's Ultimatum" is
# a tradition for Christmas.
# This year, the "Monster Mash" song inspired me to make a cute little
# dance and lyrics thing for it from ascii
from time import sleep
from os import system, name
import termcolor
monster_mash = termcolor.colored("~monster mash~", "red", attrs=["reverse", "blink"])
graveyard_smash = termcolor.colored("~graveyard smash~", "red", attrs=["reverse"])
lyric = [
"(It did the mash)",
f"It did the {monster_mash}",
"(A graveyard smash)",
f"It was a {graveyard_smash}"
]
animation = [
"""
<(._.<)
""",
"""
<(._.)>
""",
"""
(>._.)>
""",
"""
<(._.)>
"""
]
def clear():
system("cls" if name == "nt" else "clear")
def main():
while True:
for a in range(4):
for b in range(4):
clear()
print(f"{lyric[a]}\n\n{animation[b]}\n\n\nHappy Halloween 2024!")
sleep(0.4)
if __name__ == "__main__":
main()