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 # Activities
Use the turtle graphics library to create a Colorful Circles Python program that
uses nested loops to draw ie not stamp rows of different colored circles in
each row. Rows can have any number of circles in the range of to 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 multiline 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 to 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 and :
The number entered: is not between and Please try again.
Please enter the number of circles for each row between and :
The number entered: is not between and Please try again.
Please enter the number of circles for each row between and :
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 ;
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 : Introduction to Python Programming
Lab Assignment
Please enter the number of circles for each row between and :
Please enter a color for the first row of circles: salmon
Please enter a different color for the second row of circles: turquoise
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 nonzip,
additional, or multiple files will incur a grading penalty Upload the single zip
file to Blackboard under the given assignment.
Colorful Circles
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
