Turtle Module

#importing
import turtle

#create the turtle object
mladen = turtle.Turtle()

#change turtle shape (circle, triangle, turtle...)
mladen.shape("turtle")

#change lone and turtle color
mladen.color("blue") #changes line and turtle to blue
mladen.color("blue", "black") #blue line, black turtle

turtle.colormode(255) #change to use RGB colors
mladen.color(120,50,20)

Last updated