Files
ENI-Python/P2.py
johanleroy 40a2252381 TP03
2025-09-09 09:33:35 +02:00

35 lines
297 B
Python

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)