4.9.6 Random Color Square (Python)
Hey there, I'm new to coding and am struggling quite a lot. The program wants a (480, 400) rectangle that is randomly colored. Could you help me out?
The problem says:
This graphics program should draw a square.
The fill color should be randomly choosen from
the COLORS list
SIDE_LENGTH = 100
COLORS = [Color.red, Color.orange, Color.yellow, Color.green, Color.blue,
Color.purple, Color.black, Color.gray]