How to break input function in python if the user does not write anything within 10 seconds in windows.
Suppose in below code:
n=input('Enter Your answer: ')
if the user does not put anything within 10 seconds then break input function and print('time up')
How to break input function in certain time ???