This little Pygame program paints the Rainbow Flag, as used by the LGBT movement. It illustrates:
- Importing the Pygame library
- RGB colours in hexadecimal
- Python’s for loop using the enumerate() function
- Filling a rectangular area in Pygame
- Updating display