結果 : python wait for user input with timeout