Question: pygame how to clear screen?
Answer: fill(#Your chosen colour) . That is the function in PyGame that gets rid of the old screen and allows you to draw new items on to a clear screen without the pervious drawings left on there. In your game loop, before drawing the new frame, fill the frame with the background color. The key point is the mainSurface.