(Python3)- Use Turtle to make graphics- Square And Gear
(Python3)- Use Turtle to make graphics- Square And Gear
Kimo, which was often used in the past, and now Yahoo intellectuals, also stopped serving this year. I thought I would sort it out by myself, and I would also publish an English version for practicing English. If there is a grammatical error, please include more.
Square And Gear: import turtle turtle.reset() a= 200 turtle.fillcolor("red") turtle.pencolor("blue") turtle.pensize(10) turtle.left(90) turtle.forward(a) turtle.left(90) turtle.forward(a) turtle.left(90) turtle.forward(a) turtle.left(90) turtle.forward(a) turtle.color("red", "yellow") turtle.begin_fill() for _ in range(36): turtle.forward(270) turtle.left(170) turtle.end_fill() turtle.mainloop()
Disclaimer:
1. This image file is collected and reproduced from the Internet, and does not assume any technical and copyright issues.
2. If there is a download link for broadband testing and research purposes only, please delete it within 24 hours after downloading, and do not use it for commercial use.
3. If you have violated your legal rights, please write to us and we will delete it in time. We apologize for the inconvenience caused to you.