Question: Look at the attached image: Lab Assignment # 4 Activities Use the turtle graphics library to create a Colorful Circles Python program that uses nested

Look at the attached image:
Lab Assignment #4 Activities
Use the turtle graphics library to create a Colorful Circles Python program that
uses nested loops to draw (i.e. not stamp)3 rows of different colored circles in
each row. Rows can have any number of circles in the range of 3 to 12. Prompt,
read, and validate user input number of columns and colors. Create a colorful circles
drawing when input is in the valid ranges.
Include a multi-line program comment header that includes your name, date,
class, and short problem description.
Descriptively prompt, read, and validate a number of circles per row in the
range of 3 to 12. Only create a drawing when column input is in this range;
display an error message otherwise. Example number of circles validation
below.
Please enter the number of circles for each row between 3 and 12): 1
The number entered: "1" is not between 3 and 12. Please try again.
Please enter the number of circles for each row between 3 and 12): 13
The number entered: "13* is not between 3 and 12. Please try again.
Please enter the number of circles for each row between 3 and 12): 3
please enter a color for the first rou of circles:
Descriptively prompt, read, and validate a series of three different colors.
NOTE: You do not need to validate the colors themselves, only that they are
different. Only create a drawing when colors are different for each row, display
an error message otherwise. Example color validation below:
llease enter the number of circles for each row between a and 12); 5
lesse enter, a color for the first row of circles: red
lease enter a different color for the second row of cireles: red
The second color must be different from the first row. Please enter a new color: white
elease enter a different color for the third row of circles: red
the third color must be different fron the first two rows. Please enter a new color: ubite
The third color must be different fron the first two rows. Please enter a new color: blue
CIS 2531: Introduction to Python Programming
Lab Assignment
Please enter the number of circles for each row between 3 and 12): 12
Please enter a color for the first row of circles: salmon2
Please enter a different color for the second row of circles: turquoise2
Please enter a different color for the third row of circles: spring green
Include a copy of your Python source code file for upload, testing, and grading.
Bundle only the Python .py code file for grading into a single .zip file (non-zip,
additional, or multiple files will incur a 10% grading penalty). Upload the single .zip
file to Blackboard under the given assignment.
Colorful Circles
 Look at the attached image: Lab Assignment #4 Activities Use the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!