I'm using pygame to create a small scene.  Right now, I'm working with lines.
I have an array of lines which are drawn to the screen and when a line is deleted from the array, I would like the line to disappear from the screen.
The problem I've found is that the line is drawn on the screen and remains static.  I can't find a way to reset the screen (I'm using a JPEG as the background).
Is there a way to remove a drawn line from the screen?
Thanks
If you use screen.fill([0,0,0])  it will fill in the background (or whatever you have set to be your background).
This will erase any lines drawn on the image, essentially removing anything drawn on the background.
Python (pygame): How can I delete a line?