#Make a list of all the colors in the Pride Flag.
colors = ['red','orange','yellow','green','blue','purple']
#Make a list of the range of colors in the Pride Flag; there are 6 here.
loopList = range(6)
#Make a ForLoop that makes rectangley stripes and changes the vertical y position for each color.
for i in loopList:
    myrectangle = Rectangle(height=100/6, y=(100/6)+100/6/2*(2*i-1), color = colors[i])

#Yo Steven! I did it!!! .... -Love Diana

Pride Flag #2 by DiAnA

by kaod

Created 4 years, 2 months ago.