answer = input("what's the word")presentation = [] presentation.append("_") #makes a list that shows the progress of the player during the game
incorrect = 0 #number of allowed g
我的程序是为一个raspberry pi项目编写的,在这个项目中,我为用户提供了当他们按下按钮时录制消息的选项。我目前的目标是让一个while循环通过按下按钮然后退出循环来提供录制的选项,如果没有按下它5秒,它就会退出循环。w = True # if the button on the pi is pressed once this while loop begins, print ("Button Pressed")