Python Turtle Code: Rotating Trapezoid

preview_player
Показать описание
A spirograph created by 15 trapezoids stamped as images of a rotating figure. The Python Turtle code uses a loop. The "normal" orientation of the turtle in this case is facing the first side of the last trapezoid drawn.

Please feel free to copy and paste the following code. Ask questions if you have any, and subscribe. Enjoy!!
import turtle
scrin = turtle.Screen()
t = turtle.Turtle()
for i in range(15): #draw 15 trapezoids, 24 degrees apart
Рекомендации по теме
join shbcf.ru