You will write 3 separate Python programs with the files named as below.
This program will prompt the user for the following:
1.a positive (not 0) number of sides (for the regular polygon to be drawn)
2.a positive (not 0) length of the sides
3.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 (Links to an external site.)Links to an external site. and numinput (Links to an external site.)Links to an external site. methods.
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.
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:
1.a positive (not 0) number of sides for each petal (regular polygon)
2.a positive (not 0) length of the sides
3.a positive (not 0) number (>= 3) of petals (polygons) to draw
4."yes" or "no" regarding whether the petals should be filled in.