Question: Write a program to draw five squares at random locations in the window; make each square a different color. For full credit, use a loop
Write a program to draw five squares at random locations in the window; make each square a different color. For full credit, use a loop for each square.
I will insert the code given. This is for Python.
''' Asn1-2.py: Draw five squares at random locations Input: None Output: Squares at random locations Author: ''' import turtle import random
#Put your code here
wn.exitonclick() #This should be your last statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
