(Python3)- Use Turtle to make graphics- Five-pointed star
(Python3)- Use Turtle to make graphics- Five-pointed star
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.
Five-pointed star: import turtle import time turtle.pensize(5) turtle.pencolor("yellow") turtle.fillcolor("red") turtle.begin_fill() for _ in range(5): turtle.forward(200) turtle.right(144) turtle.end_fill() time.sleep(2) turtle.penup() turtle.goto(-150,-120) turtle.color("violet") turtle.write("Done", font=('Arial', 40, 'normal')) 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.
It’s amazing to pay a quick visit this web site and reading the views
of all mates regarding this article, while I am also zealous
of getting experience.