Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the program need to be completed with Python Spyder Your program must prompt the user for the number of squares to draw. The number should
the program need to be completed with Python Spyder
Your program must prompt the user for the number of squares to draw. The number should be greater than zero. If user enters 0 or a negative number, the program should print an error message and halt. We will test your program using a number in the range [1, 10]. Your program should draw all the squares centered at (0,0). The side of the largest square should be 400, your program should reduce the size of the squares by a number of your choice. Just keep in mind that your program should be able to draw at least 10 squares. All the squares should be filled with random colors (line and fill color). We provide a functionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started