Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions: Create a Python program that asks the user if they would like to draw a circle, square or triangle. The program should also ask
Instructions: Create a Python program that asks the user if they would like to draw a circle, square or triangle. The program should also ask them what size they would like the object to be drawn. The program should print an error message if invalid input is detected. If valid input is provided, the program should draw a circle, square or triangle based on the user's input. Enter your name, the lab number, and the current date into a set of comments at the top of the code. Upload the program source code to the class web site Sample Output: Do you wish to create ( Circle, (S) quare or a (triangle? a what size would you like the object to be (1 - 300)? 500 Invalid input! Do you wish to create Circle, (S) quare or a (triangle? C What size would you like the object to be (1 - 300)? 156 Python Turtle Graphics - 0 X
Step 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