Why do I get Pygame KEYUP event without releasing the key?
问题 Firstly, I'm a complete beginner, so I do not have any experience, I have however searched all the possible places these last 2 days for a resolve, and could not find it. I'm using this on a Raspberry PI 3 with Raspbian. I'm trying to build a simple code in Python 3.6 that will do the following: When pressing a keyboard key: 1.it should print 'press' if the key was pressed, without repeating. (if the key is being held down, it should print 'press' only once and stop). 2.it should print