import sys, time
th = "Thinking"
print(th, end="", flush=True)
while True:
for i in range(4):
sys.stdout.write("\b" * 3) # move back over dots
sys.stdout.write("." * i + " " * (3 - i))
sys.stdout.flush()
time.sleep(0.5)
#Credits: CoPilot
import sys, time
th = "Thinking"
print(th, end="", flush=True)
while True:
for i in range(4):
sys.stdout.write("\b" * 3) # move back over dots
sys.stdout.write("." * i + " " * (3 - i))
sys.stdout.flush()
time.sleep(0.5)
#Credits: CoPilot
What makes one happy?
What makes one all?
What makes one whole?
What makes one?