結果 : check if any key is pressed python