Draw amazing spiral circles and squares in the python turtle library

Опубликовано: 25 Март 2026
на канале: DevEnum
265
17

Draw amazing spiral circles and squares in the python turtle library | Draw a spiral inside another spiral
Let us know in the comments for code
#shorts #python #circle #pythonprogramming #pythonturtlegraphics
#pythonturtle #turtlegraphics #pythonprogramming #pythontutorial

python turtle graphics tutorial,
python turtle tutorial,
python turtle animation,
python turtle projects,
python turtle graphics animation,
python turtle art,
python turtle basics,
python turtle beginner,
python turtle cool designs
import turtle
myturtle = turtle.Turtle()
turtle.setup(width=500,height=560)
myturtle.speed(10)
colorlist = ["purple","red","orange","blue","green"]
turtle.bgcolor("black")
#turtle.speed('fastest')
for i in range(500):
myturtle.speed(15-i)
myturtle.color(colorlist[i%5])
myturtle.pensize(i/100+1)
myturtle.forward(i)
myturtle.right(98)
turtle.Done()