結果 : how to check for keyboard input python