結果 : how to check for keyboard input in python