Learn how to respond to keyboard and mouse input events with pygame in this tutorial. Source code link:http://www.mediafire.com/download/069i0tvinffrqaa/keyEvents.py
Oops, you forgot something.
The words you entered did not match the given text. Please try again.
Oops!
Oops, you forgot something.