1
How do I use the Keyboard to perform an activity if a certain key is pressed? In my research, I couldn’t find any example in this mold:
import keyboard
b = 0
if keyboard.press('b'): #sei que o certo não é utilizar o press, mas, o que boto no lugar?
b = 1