結果 : python check if a key is pressed