0% found this document useful (0 votes)
107 views8 pages

Python Basics with Tracy the Turtle

[Computing+Ideas]+[Internet]+[01]+Welcome+to+the+Internet+-+WEEK+5-6

Uploaded by

almotaz.muntaser
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views8 pages

Python Basics with Tracy the Turtle

[Computing+Ideas]+[Internet]+[01]+Welcome+to+the+Internet+-+WEEK+5-6

Uploaded by

almotaz.muntaser
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Intro to Python

with Tracy the Turtle


Who is Tracy?

Here’s Tracy!
Tracy is a turtle that will
follow commands we
give her when written in
Python
Tracy Command: forward

forward(distance)
Moves Tracy forward
a specified distance

forward(100)
CODE EDITOR- Introduction
Tracy Command: circle

circle(radius)
Tells Tracy to draw a circle
with a specified radius

50
circle(50)
Example #1: Slinky

Write a program that


has Tracy draw a
slinky with 5 loops.
CODE EDITOR- Example #1

Slinky
Commands Learned this Lesson

Command What does it do?


forward(distance) Moves Tracy forward a specified
distance
circle(radius) Tells Tracy to draw a circle with a
specified radius

You might also like