import time
while True:
    time.sleep(1)
    print(".", end=" ")
I just want to make kind of loading screen by make dots appear after one second and I was expecting this-
.{wait}.{wait}.{wait}.{wait}
But I didn't got any output but after closing program by ctrl + c I got the output like this-
. . . . . . . . . . . . Traceback (most recent call last):
  File "c:/Users/Piyush/Desktop/Python/dotdotdotload.py", line 12, in <module>
    time.sleep(1)
KeyboardInterrupt```
 
    