結果 : python check if user pressed key