How to stop getting input from input()
when there is a delay before typing:
Code:
time.sleep(5) # assuming as delay
a = input()
print(a)
All works as assumed, but before 5 second when I type anything, it is given output. Is there a way to not get input until the delay is over?