+ 2
Make the script wait
I want to receive an input from the user, make the script wait while i show some information, and then ask for a second input. How can i do that? thanks
2 Answers
+ 3
from time import sleep
sleep(seconds)
+ 1
#Abel, try this code
#with 'clear' option:
import time
import os
tex=range(6)
for i in tex:
time.sleep(1)
os.system('clear')
print(i)