Draw colorful Snake Using Python Turtle Graphic

Опубликовано: 06 Апрель 2026
на канале: DevEnum
115
2

Draw a colorful Snake Using Python Turtle Graphic

Python turtle #shorts #coding #programming :

#shorts #python #circle #pythonprogramming #pythonturtlegraphics
#pythonturtle #turtlegraphics #pythonprogramming #pythontutorial
#pythoncode #pythontraining #pythonforbeginners #pyth

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
#code

import turtle

turtle.setup(width=800, height=800)

myturtle = turtle.Turtle(shape='turtle')
myturtle1 = turtle.Turtle(shape='turtle')
myturtle.color('green')
myturtle1.color('red')

myturtle.penup()
myturtle1.penup()
myturtle.goto(-180, 200)
myturtle1.goto(-150, 200)
for i in range(30, -30, -1):

myturtle.stamp()
myturtle1.stamp()
myturtle.right(i)
myturtle1.right(i)
myturtle.forward(20)
myturtle1.forward(20)

turtle.exitonclick()