GTK
( TOPIC: 3 Lesson: 2 )
Topic
Python
Topic 1(Python Introduction)
Topic 2(Python Flow Control)
Topic 3(Python Turtle)
Topic 4(Python Functions)
Topic 5(Python Datatypes)
Topic 6(Python Files)
Topic 7(Python Object & Class)
Turtle name and color
ΒΆ
Creates and returns a new turtle object
Note
from turtle import * alex = Turtle() tina = Turtle() alex.color("blue") tina.color("red") alex.forward(150) tina.left(90) tina.forward(100)