Let's say I have this basic code:
import time
print("Thinking",end=" ")
for i in range(3):
time.sleep(1)
print(".",end=" ")
time.sleep(1)
print("I have the answer!")
Just given an example because copying over the whole thing is long, but on a basic level this is what I am trying to do. In the shell it works fine, it will print "thinking", wait a second, print a dot, wait another second, print another dot, and so on. However, in console, it waits 3 seconds then prints it all at once, why is this? I have figured out it must have something to do with the "end=" command, is there anything I can do to combat this but all the while being able to print stuff on the same line with time intervals? Thanks in advance.