結果 : python if key is pressed