using Phyton 8. Write a program that asks users for the number of sides, the len
ID: 3665267 • Letter: U
Question
using Phyton
8. Write a program that asks users for the number of sides, the length of the side, the color, and the fill color of a regular polygon. The program should draw the polygon and then fill it in.
9. Create an image that looks like this: 8-point start with 6-point star on each tip The lines can be any length and the turtle can redraw lines. (Tip: The star shape is composed of two triangles.)
10. Use a single turtle to create the following shape: 2 four sided squares overlapping each other at 90 degree angles This shape consists of two separate squares. Your turtle should draw each square separately. The sides can intersect as shown above, but the turtle should not overlap any line segments. The squares can be any size you wish as long as both squares are the same size. Use no more than 20 steps.
(Tip: It can be challenging to orient the squares exactly the right way, but you should get as close as you can. It is more important to demonstrate an effective use of the code than it is to get the picture exactly right.)
Explanation / Answer
8.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.