0

Newbie to python.

I looked around the web and found raw_input() had some workaround to achieve timeout. But in 3.6 there is no raw_input()

 name1 = str(input("please enter name of preferred student 1: "))
 name2 = str(input("please enter name of preferred student 2: "))

I want user to enter input for first line in 5 secs, if he dint enter any input i want my code to skip for second line of code.

0 Answers0