0

I have this basic code in a jupyter cell :

for i in range(10000):
    print("Step : {0}".format(i), end ="\r" )

But I have this output :

Step : 1751
Step : 3250
Step : 4522
Step : 5749
Step : 7249
Step : 8748
Step : 9999

Output which include new lines from nowhere.

Does anoyne know why and how to correct it ?

S_Gad
  • 11
  • 2

0 Answers0