Question: Hello, Turtle! Requirements You will write 3 separate Python programs with the files named as below. poly.py This program will prompt the user for the
Hello, Turtle!
Requirements
You will write 3 separate Python programs with the files named as below.
poly.py
This program will prompt the user for the following:
a positive (not 0) number of sides (for the regular polygon to be drawn)
a positive (not 0) length of the sides
a color (string)
and then draw a regular polygon with that number of sides, and the specified side length, in the specified color.
Refer to the screen's textinput and numinput methods.
grid.py
This program will draw a user-defined grid on the screen. When run the program will prompt the user for a positive (not 0) number to use for the grid spacing. Make sure to provide a reasonable default, and reasonable max value.
multipoly.py
This program will draw a flower-type design, where the user can control the number of petals. The program will prompt the user for the following:
a positive (not 0) number of sides for each petal (regular polygon)
a positive (not 0) length of the sides
a positive (not 0) number (>= 3) of petals (polygons) to draw
"yes" or "no" regarding whether the petals should be filled in.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
