Previous Lecture Complete and continue  

  Lesson 3: Turtle in One Go

I want you to write the turtle in one go. Open up the text editor for the python idle, write all your code in there. Then, simply go to the tab and select run... After that hit run module. Your code should run all at once and your turtle should make a square.

118 comments
Chelsea-lee Brummer
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Te Rauoriwa Wilson
done.

Robert Jomar Malate
import turtle

calc = turtle.Turtle()
calc.forward(100)
calc.right(270)
calc.forward(100)
calc.right(270)
calc.forward(100)
calc.right(270)
calc.forward(100)
calc.right(270)
mahesh
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Nick Williams
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)


ankur vishwakarma
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Bior
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Te Rauoriwa Wilson
Done
christopher Winters
import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Richard
##Made a square with the turtle, and then I was looking at what else I could do with it so I did the house with a cross in it that you used to do at school without going over the same line twice. I think it still needs work but I think its pretty good shot for a first attempt.

my_turtle house

import turtle

my_turtle = turtle.Turtle()
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(135)
turtle.forward(140)
turtle.right(135)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.left(135)
turtle.forward(72)
turtle.left(90)
turtle.forward(72)
turtle.left(90)
turtle.forward(140)
turtle.right(135)
turtle.forward(100)
turtle.left(180)
Te Rauoriwa Wilson
import turtle


# Make a square with the turtle.
my_turtle = turtle.Turtle()
my_turtle = turtle.forward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.forward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.forward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.forward(100)
Benjamin Hansen
import turtle
bob=turtle.Turtle()
bob=turtle.forward(100)
bob=turtle.left(90)
bob=turtle.forward(100)
bob=turtle.left(90)
bob=turtle.forward(100)
bob=turtle.left(90)
bob=turtle.forward(100)
wenting zhang
https://repl.it/FNdh/1
Doua Moua
# Make a square with the turtle.
silly = turtle.Turtle()
for i in range(4):
silly.forward(150)
silly.left(90)
Abdirahman Ali
import turtle
my_turtle = turtle.Turtle( )
my_turtle = turtle.forward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.forward(100)
my_turtle = turtle.right(90)
my_turtle = turtle.backward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.backward(100)
Miray Matur
import turtle
irem=turtle.Turtle()
for i in range(4):
irem.forward(100)
irem.right(90)
Muhammad Nasir
import turtle

my_turtle=turtle.Turtle()
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(200)
mohandes Grilj
import turtle


def turtlesquare():
t = input("Turtlename: ")
t = turtle.Turtle()
for i in range(0, 4):
t.forward(100)
t.left(90)
print("Finish")


print(turtlesquare())
gerald Benton
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
jaseela jasmine
import turtle

jjTurtle=turtle.Turtle()
jjTurtle.forward(200)
jjTurtle.left(90)
jjTurtle.forward(200)
jjTurtle.left(90)
jjTurtle.forward(200)
jjTurtle.left(90)
jjTurtle.forward(200)
Alexandra Renee
https://repl.it/FKev/0
aron bleier
import turtle
a = turtle.Turtle()
a.forward(100)
a.left(90)
a.forward(100)
a.left(90)
a.forward(100)
a.left(90)
a.forward(100)
Rob Hagedorn
import turtle
rob = turtle.Turtle()

for I in range(4):
rob.forward(100)
rob.right(90)

Ashish Kumar
turtle = turtle.Turtle()
turtle.forward(100)
turtle.left(90)
turtle.forward(200)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.backward(100)
turtle.right(90)
turtle.forward(100)
António José Mil-Homens Gonçalves
>>> import turtle
>>> my_turtle = turtle.Turtle( )
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
Noah Seethor
import turtle
ns = turtle.Turtle()
for i in range(4):
ns.forward(100)
ns.left(90)
Furkan Kalabalık
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)


# Make a square with the turtle.
Serdar Guler
import turtle
my_turtle=turtle.Turtle()
my_turtle=turtle.forward(100)
my_turtle=turtle.right(90)
my_turtle=turtle.forward(100)
my_turtle=turtle.right(90)
my_turtle=turtle.forward(100)
my_turtle=turtle.right(90)
my_turtle=turtle.forward(100)
Hithaishy B
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Nevres Muratović
import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Nevres Muratović
import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Te Rauoriwa Wilson
import turtle


# Make a square with the turtle.
my_turtle = turtle.Turtle
my-turtle = turtle.forward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.forward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.forward(100)
my_turtle = turtle.left(90)
my_turtle = turtle.forward(100)
Michael Shields
import turtle


my_turtle = turtle.Turtle()

my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Kenneth Collins
import turtle


# Make a square with the turtle.
turtl=turtle.Turtle()
turtl.forward(50)
turtl.left(270)
turtl.forward(50)
turtl.left(270)
turtl.forward(50)
turtl.left(270)
turtl.forward(50)
shaz maknojia
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
changminlee
import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
Mark Bergsma
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Moagi Mathole
import turtle
my_turle = turtle.Turtle()
my_turle.forward(100)
my_turle.left(90)
my_turle.forward(100)
my_turle.left(90)
my_turle.forward(100)
my_turle.left(90)
my_turle.forward(100)
Craig
import turtle
myturtle = turtle.Turtle()
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
jenanthan antony
import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)

Heinrich Kögler
import turtle
myturtle = turtle.Turtle()
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
# Make a square with the turtle.
faze = turtle.Turtle()
rain = turtle.Turtle(2)
heini = turtle.Turtle(3)
faze.forward(100)
faze.right(90)
faze.forward(100)
rain.right(90)
rain.forward(100)
rain.right(90)
rain.forward(100)
heini.left(90)
heini.forward(100)
heini.left(90)
heini.forward(200)
Adnan Hadzigrahic
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Andrija
import turtle
Square = turtle.Turtle()
Square.forward(100)
Square.left(90)
Square.forward(100)
Square.left(90)
Square.forward(100)
Square.left(90)
Square.forward(100)
Robert de los santos
import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
Jalen Fleary
import turtle
>>> my_turtle = turtle.Turtle()
>>> turtle.forward(150)
>>> turtle.left(90)
>>> turtle.forward(150)
>>> turtle.left(90)
>>> turtle.forward(150)
>>> turtle.left(90)
>>> turtle.forward(150)
shane
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(200)
abdul hussain
for making a circle

import turtle

smart = turtle.Turtle()

# Loop 360 times. Everything I want to repeat is
# *indented* by four spaces.
for i in range(360):
smart.forward(1)
smart.right(1)
Brayan Matos Ruiz
I got an error: AttributeError: module 'turtle' has no attribute 'Turtle'
Levi Hansen
Can you paste your code in here? Perhaps a small spelling mistake?
Kirollas Megalaa
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(120)
my_turtle.left(90)
my_turtle.forward(120)
my_turtle.left(90)
my_turtle.forward(120)
my_turtle.left(90)
my_turtle.forward(120)
lars-erik løndalen
import turtle
my_turtle = turtle.Turtle()
my_turtle. forward (100)
my_turtle. left (90)
my_turtle. forward (100)
my_turtle. left (90)
my_turtle. forward (100)
my_turtle. left (90)
my_turtle. forward (100)
Ashutosh Shukla
import turtle


# Make a square with the turtle.
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
Roshan Ali
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Dominik Friedel
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Abdulla Omaruddin
import turtle

my_turtle = turtle.Turtle ()
my_turtle.forward (100)
my_turtle.left (90)
my_turtle.forward (100)
my_turtle.left (90)
my_turtle.forward (100)
my_turtle.left (90)
my_turtle.forward (100)
Rudraraj
import turtle

myturtle = turtle.Turtle()

myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
Gunther Tonitz
import turtle
smart = turtle.Turtle()
for i in range(4):
smart.forward(100)
smart.right(90)
Mitchell Gallant
import turtle

myturtle = turtle.Turtle()
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
Jordan Paul Hernandez
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward (100)
my_turtle.left (90)
my_turtle.forward (200)
my_turtle.left (90)
my_turtle.forward (200)
my_turtle.left (90)
my_turtle.forward (200)
my_turtle.left (90)
my_turtle.forward (100)

Peshala Dissanayake
import turtle

square = turtle.Turtle()

for x in range (4):
square.forward(90)
square.right(90)
Corstiaan Roon
import turtle

my_square = turtle.Turtle()
my_square.forward(100)
my_square.left(90)
my_square.forward(100)
my_square.left(90)
my_square.forward(100)
my_square.left(90)
my_square.forward(100)
Vincent Buyl
import turtle

turtle=turtle.Turtle()
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
Miroslav
https://repl.it/EzSi/0
Ereatara Kokiri
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Arief Rosadi
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)


Kaven Wong Xien Hean
https://repl.it/Eyhx/0
Kevin Santos
https://repl.it/EyKW/0
gabbie feller
https://repl.it/EyD3/0
karthik sundar
import turtle
karthik = turtle.Turtle()
karthik.forward(100)
karthik.left(90)
karthik.forward(100)
karthik.left(90)
karthik.forward(100)
karthik.left(90)
karthik.forward(100)


Hampus
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Dallas Snook
When i go to 'run module' the tab that runs the turtle comes up with 'python graphics (NOT RESPONDING) and i don't know what to do
manuel perrotta
import turtle
my_turtle = turtle.Turtle ()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.done
Hamza Sa'ad
import turtle


my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)

Hatim Elsadig Elamin Elhag
https://repl.it/Ew7X/1
Bùi Xuân Bảo Danh
import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Aly Abo Ouf
import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
ajinkya kamdi
import turtle


# Make a square with
my_turtle=turtle.Turtle()
my_turtle.forward(80)
my_turtle.left(60)
my_turtle.forward(50)
my_turtle.left(30)
my_turtle.forward(70)
my_turtle.left(60)
my_turtle.forward(40)
my_turtle.left(30)
my_turtle.forward(80)
my_turtle.left(30)
my_turtle.forward(40)
my_turtle.left(180-120)
my_turtle.forward(70)
my_turtle.left(30)
my_turtle.forward(50)
my_turtle.left(60)
my_turtle.forward(70)
my_turtle.left(180)
my_turtle.forward(70)
my_turtle.right(60)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(30)
my_turtle.right(180)
my_turtle.forward(15)
my_turtle.left(120)
my_turtle.forward(30)
my_turtle.left(20)
my_turtle.forward(35)
my_turtle.left(20)
my_turtle.forward(35)
my_turtle.left(30)
my_turtle.forward(30)
my_turtle.right(90)
my_turtle.forward(15)
my_turtle.right(180)
my_turtle.forward(30)
my_turtle.right(180)
my_turtle.forward(15)
my_turtle.right(90)
my_turtle.forward(60)
my_turtle.right(180-140)
my_turtle.forward(30)
my_turtle.right(45)
my_turtle.forward(35)
my_turtle.right(45)
my_turtle.left(58)
my_turtle.forward(20)
my_turtle.left(70)
my_turtle.forward(16)
my_turtle.left(90)
my_turtle.left(143)
my_turtle.forward(60)
my_turtle.right(90)
my_turtle.forward(35)
my_turtle.right(90)
my_turtle.forward(20)
my_turtle.left(90)
my_turtle.forward(30)
my_turtle.left(90)
my_turtle.forward(20)
my_turtle.left(90)
my_turtle.forward(30)
my_turtle.left(180)
my_turtle.forward(30)
my_turtle.right(90)
my_turtle.forward(10)
my_turtle.left(90)
my_turtle.forward(20)
my_turtle.left(90)
my_turtle.forward(10)
my_turtle.right(90)
my_turtle.forward(30)
my_turtle.right(90)
my_turtle.forward(20)
my_turtle.right(90)
my_turtle.forward(30)
my_turtle.right(90)
my_turtle.forward(20)
my_turtle.right(90)
my_turtle.forward(65)
my_turtle.right(180)
my_turtle.forward(65)
my_turtle.left(90)
my_turtle.forward(10)
my_turtle.right(90)
my_turtle.forward(10)
my_turtle.left(60)
my_turtle.forward(45)
my_turtle.left(180-60)
my_turtle.forward(45)
my_turtle.left(180-60)
my_turtle.forward(45)
Dannaezar
import turtle
a = turtle.Turtle()
a.forward(100)
a.left(90)
a.forward(100)
a.left(90)
a.forward(100)
a.left(90)
a.forward(100)
Ahmed H Bal
import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Rocelio Garcia
import turtle

fuck = turtle.Turtle()
for i in range(4):
fuck.forward(100)
fuck.left(90)

turtle.done()
Diwaker Thakur
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Filip
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Dina Abdallah
Import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Anthony Davis
https://repl.it/EvOS/2
Johan Sundvall
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Richard Harding
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Pavan hanje
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(200)
my_turtle.left(60)
my_turtle.forward(50)
my_turtle.left(60)
my_turtle.forward(50)
my_turtle.left(60)
my_turtle.forward(200)
my_turtle.left(60)
my_turtle.forward(50)
my_turtle.left(60)
my_turtle.forward(50)

# Make a square with the turtle.
Xerxes
import turtle
t = turtle.Turtle ()
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.forward(100)

Nishan Kumar Ghosh
import turtle

my_turtle =turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)

Robin Mendosa
import turtle

hey=turtle.Turtle()


hey.forward(100)
hey.left(90)
hey.forward(100)
hey.left(90)
hey.forward(100)
hey.left(90)
hey.forward(100)
Adam Bessisso
https://repl.it/Eqv2/0
AnTony Nguyen
import turtle
draw=turtle.Turtle()
draw.speed(10)
for i in range(4):
draw.forward(100)
draw.right(90)

draw.done()
Moni AlFlahi
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(150)
my_turtle.left(90)
my_turtle.forward(150)
my_turtle.left(90)
my_turtle.forward(150)
my_turtle.left(90)
my_turtle.forward(150)
Kyle Judd
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Anuj Sharma
import turtle
my_turtle = turtle.Turtle( )
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
Daniel Marin
import turtle
my_turtle = turtle.Turtle( )
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
Alexander Helms
import turtle


my_turtle = turtle.Turtle()

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(200)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(200)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(45)

my_turtle.forward(141)

my_turtle.right(90)

my_turtle.forward(141)

my_turtle.right(90)

my_turtle.forward(141)

my_turtle.right(90)

my_turtle.forward(141)
Francisco Herrera
import turtle
my_turtle = turtle.Turtle( )
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
prudhvi kandregula
import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle=turtle.Turtle(10)
my_turtle.left(45)
my_turtle.forward(140)
my_turtle.right(-90+45)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90+45)
my_turtle.forward(140)
my_turtle=turtle.Turtle(100)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(100)
Hammad Rathor
import turtle

lol = turtle.Turtle()

lol.forward(100)
lol.right(90)
lol.forward(100)
lol.right(90)
lol.forward(100)
lol.right(90)
lol.forward(100)


hamady
>>> import turtle
>>> hamady = turtle.Turtle()
>>> hamady.forward(100)
>>> hamady.right(90)
>>> hamady.forward(100)
>>> hamady.left(90)
>>> hamady.backward(100)
>>> hamady.right(90)
>>> hamady.backward(100)
>>>
Tayseer
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Elian Barajas
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.right(180)
my_turtle.forward(100)
my_turtle.left(180)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
mongi
import turtle

rib = 0
line = turtle.Turtle()

while rib -----line.left(90)
-----line.forward(100)
-----rib += 1


The '-----' mean a space
Jamie
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Nurnayli Athirah
import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(170)

my_turtle.right(90)

my_turtle.forward(170)

my_turtle.right(90)

my_turtle.forward(170)

my_turtle.right(90)

my_turtle.forward(170)
Charles Lungu
import turtle
Charlie=turtle.Turtle()
Charlie.forward(100)
Charlie.left(90)
Charlie.forward(100)
Charlie.left(90)
Charlie.forward(100)
Charlie.left(90)
Charlie.forward(100)
Robert Spina
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Gary Lynch
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
ravi
t.forward(100),t.left(90),t.forward(100),t.left(90),t.forward(100),t.left(90),t.forward(100)
Anidhito Irmandharu
is it ?

import turtle

Avalanche = turtle.Turtle()
Avalanche.forward(100)
Avalanche.left(90)
Avalanche.forward(100)
Avalanche.left(90)
Avalanche.forward(100)
Avalanche.left(90)
Avalanche.forward(100)
# Make a square with the turtle.
Daniel Miller
import turtle
myturtle = turtle.Turtle()
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
myturtle.left(90)
myturtle.forward(100)
birajkarki
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Alin Gavrila
import turtle


my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
João
import turtle

s = turtle.Turtle()

def square(x,y):
s.forward(x)
s.right(y)
s.forward(x)
s.right(y)
s.forward(x)
s.right(y)
s.forward(x)
s.right(y)

square(100,90)
Rafeh Qazi
Yup, you got it!
Chris
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(90)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle()
Rafeh Qazi
You don't have to do the last part:
my_turtle()