Python Turtle Tutorial - 1 || Beginner Series

        

Python Turtle Tutorial - 1 

Beginner Series
Code :

from turtle import *

# Set Drawing Speed
# 0 -> Fastest
# 10 -> Lowest
speed(6)

# Start Filling Color in Shape
begin_fill()

for _ in range(4):
    # Making Array of Pixel 150 in Left to Right Direction
    forward(150)
    # Turn Array in Clockwise Direction by Given Angle
    right(90)

# End Filling Color in Shape
end_fill()

# Done Drawing and Remains on Last Screen
done()



Comments