Rainbow spiral using Python turtle

Опубликовано: 27 Декабрь 2024
на канале: TECHNO ADARSH
126
7

#funwithpython #pythonturtle #python

Rainbow spiral using python "Turtle"

Turtle ???....

Turtle is a Python library to draw graphics.
After we import Turtle we can give commands like forward, backward, right, left etc. This commands will draw different shapes.
When We combine Search commands we can create many nice graphics in the below example we will see some simple scenarios and then some Complex ones where nice graphics is created.


Simple Turtle Commands

forward(10)  It moves the turtle (arrow) forward by 10 pixels.

backward(5)  It moves the turtle (arrow) backward by 5 pixels

 right(35)  It moves the turtle (arrow) clockwise by an angle of 35 degrees.

left(55)  It moves the turtle (arrow) counter-clockwise by an angle of 55 degrees

 goto(x,y)  It moves the turtle (arrow) to the position x, y

 dot() It creates a dot in the current position.

 shape(‘circle’) It draws a circle shape.



Raimbow spiral using python
python turtle graphic tutorial for beginners
python projects for beginners
python turtle library tutorial in hindi


#python #pythonprojects #coding #pythonforbeginners #pythonturtle #pythontutorial