This is the simplest program using pygame you can make. It displays a pygame window. You have to exit out of this in a bad way (Ctrl-C from the command line, or F2). Let us go on a make it easy to get out.
Okay, now we can click the box or button in the upper corner of the window to make the program end.
Now make a blue square.
Display the blue square on the red screen.