結果 : how to check key pressed in python