[solved] Counting the number of times a key is pressed
I realize my question may be very basic but I don't really know my way with Python..
I would like to have a program that is able to count the number of times the participant press the '0' key, store the information in an incremented variable (I guess..) that I would be able to call/present on a sketchpad.
The participant would have to press the key and will see at any time his/her score on the screen.
I think I need a conditional loop using "if" but I admit that is the best I'm able to do on my own..
Any help would be greatly appreciated!
Many thanks in advance!