This commit is contained in:
johanleroy
2025-09-09 09:33:35 +02:00
parent d5afd6c71f
commit 40a2252381
8 changed files with 903 additions and 0 deletions

34
P2.py Normal file
View File

@@ -0,0 +1,34 @@
import os
import time
frames = [
r"""
o
/|\
/ \
""",
r"""
\o/
|
/ \
""",
r"""
o/
/|
/ \
""",
r"""
\o
|\
/ \
"""
]
def clear():
os.system('cls' if os.name == 'nt' else 'clear')
while True:
for frame in frames:
clear()
print(frame)
time.sleep(0.2)