If I run this code:
for x in range(10):
time.sleep(1)
print("a")
It will do exactly what it should. But if I run this:
for x in range(10):
time.sleep(1)
print("a", end="")
It will wait the entire 10 seconds and then print the 10 a
's.
How can I prevent this?