結果 : python exit if key pressed