+ 1
How can I make the dot(.) to be printing individually when it reach 10x will be stop and print(name)
import time def blinking_cursor(): name=input("What is your name: ") print("please wait") for i in range(10): print(".",end=" ") time.sleep(10) print() print(name+", your name have been successfully printed") blinking_cursor()
1 ответ
+ 6
It is not possible on Sololearn.
anyway time.sleep(10) needs an indent (like the print above)