Previous Lecture Complete and continue  

  Lesson 2: The Turtle

399 comments
sechspack
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
my_turtle.left(130)
my_turtle.forward(200)
Thomas Hemberg
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(45)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(45)
my_turtle.forward(100)
my_turtle.left(45)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
Redwan Alam Bishal
i can't find the video tutorial for this .. as I'm new and having hard time understanding this
SUJANTHAN PARAMESWARAN
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)
smart monday
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)
kelebohile mganga
import turtle
print ("my_turtle = turtle.Turtle()")
print ("my_turtle.forward(200)")
print ("my_turtle.left(90)")
print ("my_turtle.forward (200)")
print ("my_turtle.left(90)")
print ("my_turtle.forward (200)")
print ("my_turtle.left(90)")
print ("my_turtle.forward(200)")
Cavendish Mwangi
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)



feeling awesome
Krystal Mills
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)
Kathy Fenster
import turtle
my_turtle = turtle()
my-turtle.back(50)
my-turtle.up(50)
my_turtle.foward(50)
my_turtle.down(50)


This is awesome!
Hampus Asplund
https://repl.it/GBE8/0
Peter Lagos
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)

talal anwar
import turtle
turt = turtle.Turtle()
turt.forward(100)
turt.left(90)
turt.forward(100)
turt.left(90)
turt.forward(100)
turt.left(90)
turt.forward(150)
turt.left(90)
turt.forward(150)
turt.left(90)
turt.forward(200)
turt.left(90)
turt.forward(200)
turt.left(90)
turt.forward(200)
turt.left(90)
turt.forward(50)
Pranjal Kole
https://repl.it/GAhQ/0
Kyall Mills
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)
Adam B.
https://repl.it/GANB
Tyrese Christian Jaden Salandy
Can ask a question ? Can i created 2d or even 3d game item with this. If so where do i need to go to learn more.
Axel Hyppönen
yes you can but it will be complicated at beginning. The faster you learn the faster you can start creating your own stuff!
Darshak
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)
Kileen Robinson
https://repl.it/FzB1/0

:)
Tadija Zivkovic

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)
Tyrese Christian Jaden Salandy
This Was actually fun here my code https://repl.it/Fxyf/1
HIMANSHU PUJARI
import turtle
my_turtle = turtle.turtle()
my_turtle.backward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.upward(100)
Saifullah
Traceback (most recent call last):
File "python", line 2, in
_tkinter.TclError: no display name and no $DISPLAY environment variable

Nikitha
https://repl.it/FyQo
Wesley Vos
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.right(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.right(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.right(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.right(90)
my_turtle.forward(25)
Marek Ondrejka
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)
Rudy Espinoza
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)
david
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)
Q
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)
ABDUL AZIZ HUSSAIN
see my code and comment bout it cause i wanna know what is my mistake

https://repl.it/FwVH/0
Mohammed Mubashir
you need to add two more lines to your code:
MY_TURTLE.right(90)
MY_TURTLE.forward(100)
Gloria Buckley
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)
Luis Torres
https://trinket.io/python/ae856fa317
Amine
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)
Ayush Pande
https://trinket.io/python/172bd33a2d
Eric Worden
import turtle


# Make a square with the turtle.
import time
import turtle
from turtle import *

def Wait(sTime = 1.0):
time.sleep(sTime)


def someturtles():
screen = turtle.Screen()
screen.bgcolor("tan")
my_turtle = turtle.shape("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)
Wait(10) # Wait can be used to close tk after a certain amount of time

someturtles()
Derek Ocean
https://trinket.io/python/6d995facad
I shortened "my_turtle" to "T" because it's less writing lol
hermann kapepe
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.backward(100)
my_turtle.left(90)
my_turtle.backward(100)
Bhimanagouda Patil
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)
Ashish Shah
What is turtle?
VIREN PATEL
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(60)
my_turtle.left(45)
my_turtle.forward(60)
my_turtle.left(45)
my_turtle.forward(60)
my_turtle.left(45)
my_turtle.forward(60)
my_turtle.left(45)
my_turtle.forward(60)
my_turtle.left(45)
my_turtle.forward(60)
my_turtle.left(45)
my_turtle.forward(60)
my_turtle.left(45)
my_turtle.forward(60)
my_turtle.left(45)
Seth Keesee
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(50)
my_turtle.forward(100)
manoj
import turtle
me_turtle = turtle.Turtle()
me_turtle.forward(100)
me_turtle.left(90)
me_turtle.forward(100)
me_turtle.left(90)
me_turtle.forward(100)
me_turtle.left(90)
me_turtle.forward(100)
Ghiur Ciprian
sageata_x=turtle.Turtle()
sageata_x.forward(100)
sageata_x.left(90)
sageata_x.forward(100)
sageata_x.left(90)
sageata_x.forward(100)
sageata_x.left(90)
sageata_x.forward(100)
Axel Duarte
https://repl.it/Fuc7/0 there we go (:
Christian Sampsell
>>> import turtle
>>> ttl = turtle.Turtle()
>>> ttl.forward(300)
>>> ttl.right(90)
>>> ttl.forward(300)
>>> ttl.right(90)
>>> ttl.forward(300)
>>> ttl.right(90)
>>> ttl.forward(300)
Jack M
import turtle

t = turtle.Turtle()
t.forward(75)
t.left (90)
t.forward (90)
t.left (90)
t.forward (90)
t.left (90)
t.forward (90)
t.left (90)
t.forward (90)
cedric anthony van rooyen
import turtle
my_turtle =turtle()
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
Joshua Madeiros
https://repl.it/FspS/4

This one worked on rep.it.
Gurshan Bajaj
import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(100)
my_turtle.right(90)
my_turtle.left(90)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Wilberto Burgos
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)
collin johnson
>>> 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)
Steve McDonald
Got it. https://trinket.io/python/f598d3fcea
sabrina bou
https://trinket.io/python/03877c8119
sean john
>>> 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)
Benjamin Jensen
>>> 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)
Alex Koo
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
my_turtle.forward(25)
my_turtle.left(25)
Gayathri
Great
Gayathri
import turtle
my_turt = turtle.Turtle()
my_turt.forward(100)
my_turt.right(90)
my_turt.forward(100)
my_turt.right(90)
my_turt.forward(100)
my_turt.right(90)
my_turt.forward(100)
# Made a square
Hannah Nyarkoah Nyarko
https://repl.it/FpdG/0
Gunnar
>>> import turtle
>>> my_turtle = turtle.turtle()
Traceback (most recent call last):
File "", line 1, in
my_turtle = turtle.turtle()
AttributeError: module 'turtle' has no attribute 'turtle'
>>> my_turtle.foward(100)
Traceback (most recent call last):
File "", line 1, in
my_turtle.foward(100)
NameError: name 'my_turtle' is not defined
>>>
NOTHING HAPPENS WHEN I TYPE THIS IN PYTHON SHELL
AngelRafa
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle = turtle.Turtle()
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
Quentin Fairo
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)
Cameron McKee
my_turtle = turtle.Turtle()

my_turtle.right(90)
my_turtle.forward(100)
my_turtle.left(180)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(180)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(180)
my_turtle.forward(40)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(40)
my_turtle.left(180)
my_turtle.forward(80)
Cameron McKee
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(-90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
Vinod Soni

>>> 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)
Luciano Thomes
https://repl.it/FonS/0
Isaac Medina
>>> 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.right(90)
>>> my_turtle.left(90)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
saud asiri
if i wrote something wrong in my codes, how can i delete and write it again ??
Adarsh Singh
x = 0
import turtle
turtle = turtle.Turtle()
while x x = x + 1
turtle.forward(100)
turtle.left(90)
Yuri Becker Alves
import turtle


# Make a square with the 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)
Jerry ANG
>>> import turtle
>>>
>>>
>>>
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>>
Sahitya Anand
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my turtle.left(90)
SyntaxError: invalid syntax
>>> 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 Lidong'a
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)
bashayer hijji
https://repl.it/Fnme/0
Danny Brasqo
https://repl.it/Fn7x/0
Raimondas
import turtle


# Make a square with the 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)
Pritpal Chhabra
myturtle = turtle.Turtle();
for i in range(0,4):
myturtle.forward(100);
myturtle.left(90);
Richard
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)
cedric smit
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.
كريس
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)
Louis Shrestha
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)
Ngonidzashe
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)
Tom Penning
import turtle

my_turtle = turtle.Turtle()

my_turtle.left(90)
my_turtle.forward(90)
my_turtle.left(90)
my_turtle.forward(40)
my_turtle.backward(80)
my_turtle.forward(40)
my_turtle.left(90)
my_turtle.forward(90)
my_turtle.left(90)
my_turtle.forward(90)
my_turtle.left(90)
my_turtle.forward(90)
my_turtle.left(180)
my_turtle.forward(40)
my_turtle.left(90)
my_turtle.forward(40)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(90)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(45)
my_turtle.right(90)
my_turtle.forward(25)
my_turtle.right(90)
my_turtle.forward(45)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(90)
Mohammad Khawar
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.right(60)
turtle.forward(100)
turtle.left(30)
turtle.forward(100)
Vismay Patil

turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
Joseph Victor Swedlund
import turtle

Jeff = turtle.Turtle()
Jeff.forward(100)
Jeff.left(90)
Jeff.forward(100)
Jeff.left(90)
Jeff.forward(100)
Jeff.left(90)
Jeff.forward(100)
Jeff.left(90)
Tornike
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.left(90)
>>> my_turtle.right(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
Jeremy mathew
why should the t in the last turtle be capital
Basu Andharia
omg! you just introduced me to an absolutely amazing thing, thank you.
Nikolaj Kystol Knudsen
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)
Thomas Sawyer
https://repl.it/Fj4F/0
mohamed gmal
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)
Trey Gideon
import turtle


# Make a square with the 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)
Audrey Boucher
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)
sami cheaib
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)
András Takaró
import turtle
my_turtle = turtle.Turtle()

# Make a square with the 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)
Sebastian Furnigel
https://trinket.io/python/f038a0fe3f
Dustin Carlson
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)
Paul Sherwood Basongit
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(135)
my_turtle.forward(135)
cooger
it's missing (import turtle) in your code at the beginning. you should check it out.
cooger
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)
stijn Zwanenburg
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(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(45)
my_turtle.forward(69.883)
my_turtle.left(90)
my_turtle.forward(69.883)
my_turtle.left(45)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(35)
my_turtle.left(90)
my_turtle.forward(25)
my_turtle.right(90)
my_turtle.forward(15)
my_turtle.right(90)
my_turtle.forward(25)
my_turtle.left(90)
my_turtle.forward(35)



Hania Arif
>>> import turtle
>>> shape=turtle.Turtle()
>>> shape.forward(50)
>>> shape.left(90)
>>> shape.forward(50)
>>> shape.left(90)
>>> shape.forward(75)
>>> shape.left(90)
>>> shape.forward(75)
>>> shape.left(90)
>>> shape.forward(100)
>>> shape.left(90)
>>> shape.forward(100)
>>> shape.left(90)
>>> shape.forward(125)
>>> shape.left(90)
>>> shape.forward(125)
>>> shape.left(90)
>>> shape.forward(150)
>>> shape.left(90)
>>> shape.forward(175)
>>> shape.left(135)
>>> shape.forward(300)
>>> shape.right(90)
>>> shape.forward(100)
>>> shape.right(90)
>>> shape.forward(300)
Max Litja
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)
print("Hello Rafeh")
Fedor Vasilyev
import turtle
myturtle = turtle.Turtle()
myturtle.forward(50)
myturtle.left(90)
myturtle.forward(50)
myturtle.left(90)
myturtle.forward(50)
myturtle.left(90)
myturtle.forward(50)
Luke Kavanagh
import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(150)
my_turtle.right(90)
my_turtle.forward(150)
my_turtle.right(90)
my_turtle.forward(150)
my_turtle.right(90)
my_turtle.forward(150)
ika
>>> 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)
Wahidun bin Haji Walid
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)
Rens Leijtens
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)
Daniel Russo
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)
Anim Alam
>>> 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.back (100)
>>> my_turtle.right (180)
>>> my_turtle.right (45)
>>> my_turtle.forward (100)
>>> my_turtle.back (100)
>>> my_turtle.right (45)
>>> my_turtle.forward (100)
>>> my_turtle.left (45)
>>> my_turtle.forward (100)
>>> my_turtle.left (95)
>>> my_turtle.left (85)
>>> my_turtle.right (45)
>>> my_turtle.forward (100)
>>> my_turtle.back (100)
>>> my_turtle.right (180)
>>> my_turtle.right (90)
>>> my_turtle.forward (100)
>>> my_turtle.left (45)
>>> my_turtle.right (90)
>>> my_turtle.forward (100)
>>> my_turtle.right (45)
>>> my_turtle.forward (100)
>>> my_turtle.right (90)
>>> my_turtle.forward (100)
>>> my_turtle.back (100)
>>> my_turtle.right (45)
>>> my_turtle.forward (100)
>>> my_turtle.left (45)
>>> my_turtle.forward (100)
>>> my_turtle.back (100)
>>> my_turtle.right (90)
>>> my_turtle.forward (100)
Teodora Stroia
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)
xyrl
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)
Alisha Barretto
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)
Aditi Deepak
import turtle
my_turtle= turtle.Turtle()
my_turtle.forward(78)
my_turtle.left(90)
my_turtle.forward(78)
my_turtle.left(90)
my_turtle.forward(78)
my_turtle.left(90)
my_turtle.forward(78)
Abdulaziz Al Ahmad
https://repl.it/Fb21/2
This is really interesting.
Yuchong Luan
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)
Kaw
Import turtle



my_turtle = turtle.Turtle()
my_turtle.forward(110)
my_turtle.left(90)
my_turtle.forward(110)
my_turtle.left(90)
my_turtle.forward(110)
my_turtle.left(90)
my_turtle.forward(110)
Brennon Lent
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)
Jack Vincent Balcita
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(135)
my_turtle.forward(140)
my_turtle.left(135)
my_turtle.forward(100)
my_turtle.left(135)
my_turtle.forward(140)
my_turtle = turtle.Turtle()
Daniel Foster
>>> 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)
Fidel Dola-Lami
>>> 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)
>>>
james Cooper
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)
Hhpe
>> import turtle
>>>
>>> mr_t = turtle.Turtle()
>>> mr_t.right(90)
>>> mr_t.backward
>
>>> mr_t.backward(10)
>>> mr_t.right(90)
>>> mr_t.backward(10)
>>> mr_t.left(90)
>>> mr_t.forward(10)
>>> mr_t.right(90)
>>> mr_t.forward(100)
>>> mr_t.backward(90)
Deepak Kaushik

>>>
>>>
>>> import turtle
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(50)
>>> my_turlte.left(90)
Traceback (most recent call last):
File "", line 1, in
my_turlte.left(90)
NameError: name 'my_turlte' is not defined
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forward(50)'
SyntaxError: EOL while scanning string literal
>>> my_turtle.forward(50)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>>
Abdulaziz Al Ahmad
https://repl.it/Fb21/1
Caddy Khaw
>>> 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)
van
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)

# Make a square with the turtle.
alsong dunstan
https://repl.it is the link to my code
Jose Gonzales
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)
Ivan Gassinez
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)
Hamza
import turtle

my_turtle=turtle.Turtle()
my_turtle.right(135)
my_turtle.forward(90)
my_turtle.right(90)
my_turtle.forward(140)
my_turtle.right(135)
my_turtle.forward(320)
my_turtle.right(135)
my_turtle.forward(140)
my_turtle.right(90)
my_turtle.forward(90)
Sanjeev Bajaj
how to open second window as you did. I am in python 3.6.0. shell
Trey keith McCutcheon
copy and paste this and it says hello
import turtle
my_turtle = turtle.Turtle()
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(180)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.left(180)
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(50)
my_turtle.right(180)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(180)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(20)
my_turtle.right(90)
my_turtle.forward(40)
my_turtle.right(90)
my_turtle.forward(20)
my_turtle.left(90)
my_turtle.forward(10)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(180)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(180)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(50)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(50)
Jeff Schneider
Where did the Python Turtle Graphics screen come from? I wrote the code and don’t have any idea where my turtle is.

When you were teaching Hello World there were two screens, your description of them is that one was like and email wherein Python responded and the other did not, What are the names of those screens? I can’t very well tell my mentor, “You know the email screen”.
wes shelpman
Hit Run > Run module or ctrl + f5 and it worked for me

it should open a new shell and module
KYLE PALMER
https://repl.it/F8nc/0
Aditya Manishbhai
>>> 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)
Dean Roberts
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)
Chan Wen Shyang
import turtle
my_turtle=turtle.Turtle()
my_turtle.foward(100)
my_turtle.left(90)
my_turtle.foward(100)
my_turtle.right(50)
my_turtle.foward(100)
my_turtle.left(90)
my_turtle.foward(100)

I keep getting has no attribute "foward" on line 3 main.py but when I tried to use other codes on comments, those codes work but those codes didn't have any differences with the code I typed based on the video
vincent_chandolu
it's "forward".
Jeremiah Rushin
something i made by repeating code!!
https://www.repl.it/F6SC/2
john iliadis
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)
Neloy Nuhas
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import turtle
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left(100)
>>> my_turtle.right(10)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forword(100)
Traceback (most recent call last):
File "", line 1, in
my_turtle.forword(100)
AttributeError: 'Turtle' object has no attribute 'forword'
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forword(110)
Traceback (most recent call last):
File "", line 1, in
my_turtle.forword(110)
AttributeError: 'Turtle' object has no attribute 'forword'
>>> my_turtle.forward(110)
>>> my_turtle.forward(50)
>>> my_turtle.backward(10)
>>> my_turtle.forwward(10)
Traceback (most recent call last):
File "", line 1, in
my_turtle.forwward(10)
AttributeError: 'Turtle' object has no attribute 'forwward'
>>> my_turtle.forward(10)
>>> my_turtle.left(90)
>>> my_turtle.right(180)
>>> my_turtle.forward(60)
>>> my_turtle.right(90)
>>> my_turtle.forward(60)
>>> my-turtle.right(90)
Traceback (most recent call last):
File "", line 1, in
my-turtle.right(90)
NameError: name 'my' is not defined
>>> my_turtle.right(90)
>>> my_turtle.forward(60)
>>>
Amira Scorpion
>>> import turtle
>>> my_turtle = turtle.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.down(90)
Traceback (most recent call last):
File "", line 1, in
my_turtle.down(90)
TypeError: pendown() takes 1 positional argument but 2 were given
>>> my_turtle.right(90)
>>> my_turtle.left(90)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
Brook Jeynes
https://repl.it/F7HE/0
Marcus West
https://www.repl.it/F6SC/0
Amir Hossein Asghari
https://trinket.io/python/39b6829c83
André du Rietz
Did some extra
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(200)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(200)
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(100)
Dachi
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)
Paul Ojong
>>> 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)
>>>
don
>>> 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)
sudesh yadav



initially I made some mistakes but did it

Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import turtle
>>> import turtle
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> my_turtle = turtle.turtle()
Traceback (most recent call last):
File "", line 1, in
my_turtle = turtle.turtle()
AttributeError: module 'turtle' has no attribute 'turtle'
>>> my_turtle = turtle.Turtle()
>>> my_turtle=
SyntaxError: invalid syntax
>>> my_turtle = turtle.forward(100)
>>> my_turtle = turtle.left(100)
>>> my_turtle = turtle.right(100)
>>> my_turtle = turtle.left(90)

SyntaxError: unexpected indent
>>> 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)
>>>
Luftwafte II
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)
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.
Sten Jansson
>>> 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)
Kevin Urban
import turtle


# Make a square with the 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
happycoder
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)
Kevin Urban
that's cool, never thought of that! :D
Christian Joy Alayon
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)
ahmed gehad
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)
Double NB
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)
Gregg Cline
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)
Pedro Rodrigues
https://repl.it/F0RQ/0
Christian Leanza
https://repl.it/F0Q7/0
Brian Dykstra
here is my code.
https://repl.it/FZn5/0
Hadi Irwein
https://repl.it/FZf9/0
Walter Geiger
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
karan
Import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(100*2)
my_turtle.left(45*2)
my_turtle.forward(50*4)
my_turtle.left(90)
my_turtle.forward(100+100)
Modasir Khajazada
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(50)
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.left(90)
Denis
* make a square turtle

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)
Lorde Axel
#To make a rectangle.

import turtle

my_turtle=turtle.Turtle()
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(50)
Issac Ramierz
Check it out!

https://repl.it/FZGY/0
gavin bowen
import turtle

my_turtle = turtle.Turtle()
for i in range(4):
my_turtle.forward(100)
my_turtle.left(90)
Andrew Winter
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward (70+30)
>>> my_turtle.left (90)
>>> my_turtle.forward (50*2)
>>> my_turtle.left (90)
>>> my_turtle.forward (60+40)
>>> my_turtle.left (90)
>>> my_turtle.forward (100)
Nakanene
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(99+1)
my_turtle.left(90)
my_turtle.forward(50*2)
my_turtle.left(180/2)
my_turtle.forward((20)*(10/2))
JC Fermin
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.
Jeffrey Zoslov
>>> 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)
Saad Ahmad Khan
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)
Kevin C
my_turtle = turtle.Turtle()
my_turtle.foward(100)
my_turtle.left(90)
my_turtle.foward(100)
my_turtle.left(90)
my_turtle.foward(100)
my_turtle.left(90)
my_turtle.foward(100)
A
what does "my_turtle=turtle.turtle()" mean?
Premanshu Pareek
The link for Turtle-Square program:

https://repl.it/FWHE/0
Jack Manson
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)
t.left(90)
Ronaldo Chavez
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)
Geovany Cardoza Velez
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)
Bo Johnson
>>> 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)
Terence
Hi, what is the meaning of my_turtle = turtle.Turtle()? Why do I need this line?
Juan Ladron
Howdy! To my understanding;

"my_turtle" is a placeholder (variable) for what you're working with in this exercise (the, "turtle' or little black cursor that appears in the secondary Python screen.)
"= turtle" means that the prior wording ("my_turtle") now has a value
".Turtle()" finalizes the command by indicating that the subject (lowercase turtle) is now indicating what the line of code will do, which is dictated by the uppercase Turtle, lastly followed by parenthesis which are used to indicate a value for what it is you want to do; in this case, the turtle is using a distance command, thus moving the Turtle(by whatever amount you insert in these parenthesis)

So to sum it up, my_turtle = turtle.Turtle(100) means I am WORKING with my_turtle, which will be REFERRED TO as turtle. dotCapitalTurtle(100) [.Turtle()] indicates how far along I want the now summoned turtle to move along a line. Hope this helped! :)
Terence
Hi Juan, thanks for the explanation. But I have zero programming knowledge and still don't quite get what you mean. But I manage to use my own understanding and tried this and seem to work as well.

import turtle

a=turtle.forward(100)
a=turtle.left(90)
a=turtle.forward(100)
a=turtle.left(90)
a=turtle.forward(100)
a=turtle.left(90)
a=turtle.forward(100)
a=turtle.left(90)

My own reason will be "a" is the name of the turtle I named it and "=turtle.forward" is to tell the turtle to move forward and of course "(100)" is about how much to move. So i still don't understand the meaning of "=turtle.Turtle" and why is this sentence necessary. Sorry if I sounded dumb.
Arian Zahir
>>> import turtle
>>>
>>>
>>>
>>>
>>>
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>> my_tutle.forward(100)
Traceback (most recent call last):
File "", line 1, in
my_tutle.forward(100)
NameError: name 'my_tutle' is not defined
>>> import turtle
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.right(180)
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>> my_turtle.forward(100)
Jamie Fore
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)

# Made a square with the turtle.
Elmer Enrico Mendoza
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 Anthony Wilson
>>> 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)
>>>
Juan Ladron
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)

#wootwoot
Aman Tyagi
I wrote my name with Turtle..
https://repl.it/FSm9/3
Saleh xxx
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)
Romario Coley
https://repl.it/FSVt/0

I did it bro.
Lee Cage
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forward(300)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forward(300)


i'm a rebel...
V
>>>
>>>
>>> import turtle
>>>
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>> my_turtle.right(100)
Slawek Kozak
The best interactive website I have ever seen so far :).
Omar Nasser Tawachi
i saw this code and I didn' know what it did after "end test", any help?

print("start test")

for i in range(4):
print(i)
print("test")

print("end test 1")

for banana in range(20):
print(banana)
print(banana * 2)
Ben Donohoe
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)
saadallah Itani
import turtle


# Make a square with the turtle.
x=turtle.Turtle()
x.forward(100)
x.left(90)
x.forward(100)
x.left(90)
x.forward(100)
x.left(90)
x.forward(100)
Thomas Loving
>>> 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)
Vivek sagar Canchi vidya
i wanna know what dose this command do ?? "my_turtle = turtle.Turtle() "
poonam ahir
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)
Frederico Reuters
made on a "new file" not on the shell if you "run module" you get a a little animation.

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)
Joshua Mekala
>>>
>>>
>>>
>>> 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)
>>>
Luke Michael Wiley
i made it EXTREMELY simple by copying and pasting
ABDUL REHMAN AKHIL
>>> import turtle
>>> my_turtle = turtele.Turtle()
Traceback (most recent call last):
File "", line 1, in
my_turtle = turtele.Turtle()
NameError: name 'turtele' is not defined
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.rig
Traceback (most recent call last):
File "", line 1, in
my_turtle.rig
AttributeError: 'Turtle' object has no attribute 'rig'
>>> my_turtle.right(100)
>>> my_turtle.forward(100)
>>> my_turtle.backward(2000)
>>> myturtel.forward(2000)
Traceback (most recent call last):
File "", line 1, in
myturtel.forward(2000)
NameError: name 'myturtel' is not defined
>>> my_turtle.forwa
Traceback (most recent call last):
File "", line 1, in
my_turtle.forwa
AttributeError: 'Turtle' object has no attribute 'forwa'
>>> my_turtle.forward(2000)
>>>
>>>
>>>
>>>
>>> my_turtle.right(90)
>>> my_turtle.left(90)
>>> my_turtle.up(90)
Traceback (most recent call last):
File "", line 1, in
my_turtle.up(90)
TypeError: penup() takes 1 positional argument but 2 were given
>>> my_turtle.backward(90)
>>> clr
Traceback (most recent call last):
File "", line 1, in
clr
NameError: name 'clr' is not defined
>>> my_turtle.farward(90)
Traceback (most recent call last):
File "", line 1, in
my_turtle.farward(90)
AttributeError: 'Turtle' object has no attribute 'farward'
>>> my_turtle.forward(90)
>>> my_turtle.right(100)
>>> my_turtle.left(10)
>>> my_turtle.forward(100)
>>> my_turtle = turtle.Turtle
>>> my_turtle.forward(100)
Traceback (most recent call last):
File "", line 1, in
my_turtle.forward(100)
TypeError: forward() missing 1 required positional argument: 'distance'
>>>
>>>
>>>
>>>

>>>

>>>
>>>
>>>


>>>

>>>
>>>
>>> import turtle
>>> my_turtle = turtle.Turtle()
Traceback (most recent call last):
File "", line 1, in
my_turtle = turtle.Turtle()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/turtle.py", line 3816, in __init__
visible=visible)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/turtle.py", line 2557, in __init__
self._update()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/turtle.py", line 2660, in _update
self._update_data()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/turtle.py", line 2646, in _update_data
self.screen._incrementudc()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/turtle.py", line 1292, in _incrementudc
raise Terminator
turtle.Terminator
raiana
>>> import turtle
>>>
>>> my_turtle = turtle.Turtle()
>>> my_turtle.backward(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)
jason
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)
Nathan De Guia
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)
Reuben Varghese

https://trinket.io/python/e940cea3e7
Orion Thomas
Make a square with turtle.

https://repl.it/FQUz

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)
Ali Younes
import turtle

myt = turtle.Turtle()
myt = turtle.forward(100)
myt = turtle.left(90)
myt = turtle.forward(100)
myt = turtle.left(90)
myt = turtle.forward(100)
myt = turtle.left(90)
myt = turtle.forward(100)
Xavier Harris-James
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)
Antonio Greg
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.right(45)
my_turtle.back(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(135)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(40)
Vincent Houckham
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.right(140)
>>> my_turtle.forward(100)
>>> my_turtle.left(180)
>>> my_turtle.forward(100)
>>> my_turtle.right(50)
>>> my_turtle.left(10)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
Faith Biete
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)
Théo Michel
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my turtle.left(35)
SyntaxError: invalid syntax
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.forward(500)
>>> my_turtle.backwards(400)
Traceback (most recent call last):
File "", line 1, in
my_turtle.backwards(400)
AttributeError: 'Turtle' object has no attribute 'backwards'
>>> my_turtle.left(180)
>>> my_turtle.forward(450)
>>> my_turtle.right(90)
>>> my_turtle.forward(50)
>>> my_turtle.left(180)
>>> my_turtle.forward(100)
>>> my_turtle.left(180)
>>> my_turtle.forward(50)
pretty bad ahaha
divith marath
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)
kyra moss
https://repl.it/FPJ0/0
Kevin Moreno
import turtle


# Make a square with the 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)
joseph mesa
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)
christopher Winters
>>> 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)
Traceback (most recent call last):
File "", line 1, in
my.turtle.forward(100)
NameError: name 'my' is not defined
>>> my_turtle.forward(100)
Stanislav
my_turtle.forward(100)
>>> my_turtle.forward(100)
>>> my_turtle.left(100)
>>> my.turtle.forward(100)
>>> my_turtle.forward(100)
>>> my_turtle.forward(100)
>>> my_turtle.left(100)
>>> myturtle.forward(100)
my_turtle.forward(100)
>>> my_turtle.forward(100)
>>> my_turtle.left(100)
>>> my_turtle.forward(100)
>>> my.turtle.forward(50)
my_turtle.forward(50)
Richard
Okay I think I get it now.

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)
Jared
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)
Marc Ezekiel L Sibal
Hi
just wanted to ask how do you open the python graphics thing???? at 2:02
Ömer Turan
just click (run)
naisargi patel
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90+45)
my_turtle.forward(143)
my_turtle.right(90+45)
my_turtle.forward (100)
my_turtle.right(90)
my_turtle.forward (100)
Doua Moua
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)
fahad alotaibi

https://trinket.io/python/7f57e676a5

Ryan
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)

So satisfying :)
Vaidehi Bhadkamkar
https://repl.it/FLBg/0
Ali Darwish
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+45)
my_turtle.forward (100)
Karlo Turk
This is actually easy we had something like that in school, which basically used xy and stuff like that, really fun, but already learnt that xd
Peter Vo
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(50)
hilmir straumland
import turtle


# Make a square with the 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)
Heer Patel
>>> 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_turle.forward(100)
Traceback (most recent call last):
File "", line 1, in
my_turle.forward(100)
NameError: name 'my_turle' is not defined
>>> my_turtle.forward(100)
>>>
Juan Carlos
there is a typing mistake in turtle
you mistakenly typed :turle in the last step..
that would be it..
Nacho Montero
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(360+90)
my_turtle.forward(100)
my_turtle.right(270)
my_turtle.forward(100)
my_turtle.left(360+90)
my_turtle.forward(100)
my_turtle.left(135)
my_turtle.forward(141.4213562)
my_turtle.right(180)
my_turtle.forward(141.4213562)
kyle Lawson
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)
joubert frederic
>>> my_turtle.backward(100)
>>> my_turtle.left(90)
>>> my_turtle.backward(100)
>>> my_turtle.left(90)
>>> my_turtle.backward(100)
>>> my_turtle.left(90)
>>> my_turtle.backward(100)


I don't get why my code is not working. any help would be great I'm new.
Simon Yeates
>>> import turtle
>>>
>>> turtle.forward(100)
>>> turtle.right(90)
>>> turtle.forward(100)
>>> turtle.right(90)
>>> turtle.forward(100)
>>> turtle.right(90)
>>> turtle.forward(100)
>>>
Glenn Synnes Skjong
import turtle


# Make a square with the 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)
Kundan Goyal
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)
>>>
David Valle
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)
ajay
# Make a square with the turtle.
import turtle
turtle=turtle.Turtle()
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
Young K Hwang
https://repl.it/FIX1/0

PaRuSch
https://repl.it/FH0k/0

But if I try to run it as a full script it doesn't work and python can't compile it.

Traceback (most recent call last):
File "turtle.py", line 1, in
import turtle
File "/home/parusch/Desktop/python/turtle.py", line 2, in
first_turtle = turtle.Turtle()
AttributeError: module 'turtle' has no attribute 'Turtle'

Why is that?

Nvm I am dumb. Guys, if you save the file, don't call it turtle.py! Otherwise it will try to read from it and take it as the standard library module. So if you wanna create a file don't use that name.
Munuhe
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)
Samir Khamis
>>> import turtle
>>>
>>>
>>>
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(50)
>>> 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)
>>>
Alexander Escamila
>>>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.right(90)
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>> my_turtle.forward(100)
Amruta Palo

Link
https://trinket.io/python/5f6a74dca4
Jaypee Genobe
https://repl.it/FGW0/3
Craig
>>> myturtle = turtle.Turtle()
>>> myturtle.forward(100)
>>> myturtle.left(90)
>>> myturtle.forward(100)
>>> myturtle.left(90)
>>> myturtle.forward(100)
>>> myturtle.left(90)
>>> myturtle.forward(100)
Eric Tang
import turtle


# Make a square with the 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)
shaz maknojia
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(400)
my_turtle.left(90)
my_turtle.forward(400)
my_turtle.left(90)
my_turtle.forward(400)
my_turtle.left(90)
my_turtle.forward(400)
Oscar van Vugt
import turtle

a = turtle.Turtle()
b = turtle.Turtle()
c = turtle.Turtle()
d = turtle.Turtle()

a.speed(10)
b.speed(10)
c.speed(10)
d.speed(10)
a.forward(100)
a.right(90)
a.forward(100)
b.left(180)
b.forward(100)
b.right(90)
b.forward(100)
c.left(90)
c.forward(100)
c.right(90)
c.forward(100)
d.right(90)
d.forward(100)
d.right(90)
d.forward(100)
# Make a square with the turtle.
#Swastika Lol
a.right(90)
a.forward(100)
b.right(90)
b.forward(100)
c.right(90)
c.forward(100)
d.right(90)
d.forward(100)
a.right(90)
a.forward(100)
a.right(90)
a.forward(100)
#now i got 4 squares
b.clear()
c.clear()
d.clear()
a.hideturtle()
b.hideturtle()
c.hideturtle()
d.hideturtle()
David Lu
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)
Magnus Bach Andersen
import turtle


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

Last turn was simply to satisfy my OCD.
Rafeh Qazi
Haha, hopefully your OCD has been satisfied. Wait this is not right! You used
Snake
. You should NOT be using
turtle.forward
you should be doing
Snake.forward
!
Andrej Radojcic
When i try this:
" snake = turtle.Turtle ()
snake.forward (100) "
it says : Traceback (most recent call last):
File "", line 1, in
sanke.forward(100)
NameError: name 'sanke' is not defined
Magnus Bach Andersen
ahh ofc my bad xD
ty tho might've saved me from a lot of trouble in the future
Rafeh Qazi
I got you Magnus!
Adnan Hadzigrahic
>>> import turtle
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left
>
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>>
Adnan Hadzigrahic
>>> import turtle
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left
>
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>>
Andrej Radojcic
I have one question: How did you skip all those lines at 2:25? I want to try to make square but i dont want to exit python idle and start up it again. I hope you will respond to me :D
Andrija
import turtle
Ubica=turtle.Turtle()
Ubica.forward(100)
Ubica.left(90)
Ubica.forward(100)
Ubica.left(90)
Ubica.forward(100)
Ubica.left(90)
Ubica.forward(100)
Mohammed Ameerunnisa
import turtle
ameer=turtle.Turtle()
ameer.forward(100)
ameer.left(90)
ameer.forward(100)
ameer.left(90)
ameer.forward(100)
ameer.left(90)
ameer.forward(100)
Juan Esteban García
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)
Kashish Goyal
import turtle


# Make a square with the turtle.

kashish = turtle.Turtle()

kashish.forward(100)
kashish.right(90)
kashish.forward(100)
kashish.right(90)
kashish.forward(100)
kashish.right(90)
kashish.forward(100)
shane
made an error when i do so how do i go back to fix it it wont letme using python27,1..
>>> import turtle
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forwad(100)

Traceback (most recent call last):
File "", line 1, in
my_turtle.forwad(100)
AttributeError: 'Turtle' object has no attribute 'forwad'
>>> my_turtle.forward(100)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>>
Teron Chapman
#The Import Command makes coding easier... Try it here.
#The Turtle import, lets you draw a path creating wonderful masterpieces, Try it here.
import turtle
#You can Rename your turtle using Variables. Try it out.
Peter = turtle.Turtle()
#Peter can move according to my command. Watch This.
Peter.forward(100)
#Peter can also turn left and right. Look at Peter go!!
Peter.left(90)
Peter.forward(100)
Peter.left(90)
Peter.forward(100)
Peter.left(90)
Peter.forward(100)
James Daniel Smith
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)
Kirollas Megalaa
>>> 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)
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)
L0rdyF
import turtle


# Make a square with the 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)
Ali
import turtle
my_turtle = turtle.Turtle()
my_turtle.left(45)
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)
Roshan Ali
import turtle


# Make a square with the turtle.
my_turtle=turtle.Turtle()
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(200)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(200)
Fortune
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)
Nathan Swedlund
you're the only person that I've seen on here to use forward(200) instead of (100) way to be different haha
Nathan Swedlund
it isn't a square but I DON'T PLAY BY YOUR RULES haha jk


import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
# Make a square with the turtle.
Isaac Janing
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 square
Ian Wixom
I know that this isn't a square, but I was messing around with repeat functions.

import turtle

my_turtle = turtle.Turtle()

moving = 1
while moving my_turtle.forward(200)
my_turtle.left(89)
moving = moving + 1
Chadi Idrissi Jazouli
import turtle
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forwards(200)
Traceback (most recent call last):
File "", line 1, in
my_turtle.forwards(200)
AttributeError: 'Turtle' object has no attribute 'forwards'
>>> my_turtle.forward (200)
>>> my_turtle.left (200)
>>> my_turtle.right (200)
>>> my_turtle right(90)
SyntaxError: invalid syntax
>>> my_turtle.right (90)
>>> my_turtle.left(180)
>>> my_turtle.forward(200)
>>>
i typed to fast sometimes hehe
Aparna Saha
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)
Gianlucca
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)
Jeremia Leonard Abdining Gusti
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(170)
my_turtle.left(90)
my_turtle.forward(170)
my_turtle.left(90)
my_turtle.forward(170)
my_turtle.left(90)
my_turtle.forward(170)
Bevan zaveri
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)
Bendrik Bendriksson
Did it in the "story mode". I'm so new to this :D

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)
waleyeldeenahmed
why do you leave some spaces between the codes
Jorge Cruz
https://repl.it/EwW4/1

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)

It worked on my Mac for Python but not for the site. Is that normal sir?
Balan Elena
https://repl.it/FArw/0
tarun thakur
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)
Erika
>> 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)
>>>
Tony Gonzalez
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
turtle.left(90)
turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
turtle.right(90)
my_turtle.forward(100)
turtle.forward(100)
Nathan Stork
import turtle

turtle = turtle.Turtle()
def square():
for i in range(0, 4):
turtle.forward(100)
turtle.right(90)

square()
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)
Tabinda
>>> 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)
Amal Abdiweli
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)
Yannis Van Herp
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)
Gari Alfaro
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)
Jonas Abarham
https://trinket.io/python/83bc1445c0?runMode=console
Phuc Le
https://repl.it/EzJ6/0
ashish dagar
import turtle
my_turtle=turtle.Turtle
turtle.foward(500)



i used win 10 its doest work it shows

AttributeError: '' object has no attribute 'foward' on line 3 in main.py
please give solution of my problem
Petar Hristov
https://www.repl.it/Eyw9/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)
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)
Anas Hamidov
I have one question!
How I can fined Python Turtle Graphics ?
I'm using windows 10 and python 3.6 !
Wonhyeong
import turtle
dj = turtle.Turtle()
dj.forward(100)
dj.left(90)
for x in range(0,3):
dj.forward(100)
dj.left(90)
x+=1
brandonshilling
import turtle


# Make a square with the turtle.
my_turtle = turtle.Turtle()
#moves turtle forward 75
my_turtle.forward(75)
#rotates turtle 90 degrees right
my_turtle.right(90)
#moves turtle forward 75
my_turtle.forward(75)
#rotates turtle 90 degrees right
my_turtle.right(90)
#moves turtle forward 75
my_turtle.forward(75)
#rotates turtle 90 degrees right
my_turtle.right(90)
#moves turtle forward 75
my_turtle.forward(75)
#rotates turtle 90 degrees right
my_turtle.right(90)
my_turtle = turtle.Turtle()
Wong Xien Hean
https://repl.it/Eyi2/0
Kathy Nguyen
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)
Elmer Heino
import turtle


# Make a square with the turtle.
# Kilpikonna is turtle in finnish so don't think i'm crazy
Kiplikonna = turtle.Turtle()
Kiplikonna.forward(100)
Kiplikonna.left(90)
Kiplikonna.forward(100)
Kiplikonna.left(90)
Kiplikonna.forward(100)
Kiplikonna.left(90)
Kiplikonna.forward(100)
Smile SunShine
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)
>>>
Quang Anh Tran
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(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(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(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(100)
my_turtle.left(90)
my_turtle.forward(100)
Trevor Winger
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)
Justas Norinkevicius
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)
Groove Mysta
import turtle

my_turtle = turtle.Turtle()
my_turtle.forward(200)
my_turtle.right(150)
my_turtle.forward(200)
my_turtle.right(150)
my_turtle.forward(200)
my_turtle.right(150)
my_turtle.forward(200)
my_turtle.right(135)
my_turtle.forward(190)
Abdulsalam Ajayi
Hampus
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turle.left(90)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turtle.left(90)
David Gielen
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)
Alice Boter
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)
Imran Hossain
import turtle


my_turtle = turtle.Turtle()
my_turtle.forward(60)
my_turtle.left(90)
my_turtle.forward(60)
my_turtle.left(90)
my_turtle.forward(60)
my_turtle.left(90)
my_turtle.forward(60)
my_turtle.right(45)
my_turtle.forward(30)
my_turtle.left(135)
my_turtle.forward(101)
my_turtle.left(135)
my_turtle.forward(30)
my_turtle.right(45)
my_turtle.forward(60)
my_turtle.right(45)
my_turtle.forward(30)
my_turtle.left(135)
my_turtle.forward(101)
my_turtle.left(135)
my_turtle.forward(30)
my_turtle.right(45)
my_turtle.forward(60)
my_turtle.right(135)
my_turtle.forward(50)
my_turtle.right(100)
my_turtle.forward(40)
my_turtle.right(79)
my_turtle.forward(83)
my_turtle.left(80)
my_turtle.forward(50)
my_turtle.left(108)
my_turtle.forward(48)
my_turtle.left(80)
my_turtle.forward(85)

import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(110)
my_turtle.left(90)
my_turtle.forward(110)
my_turtle.left(90)
my_turtle.forward(162)
my_turtle.left(90)
my_turtle.forward(165)
my_turtle.left(90)
my_turtle.forward(162)
my_turtle.left(90)
my_turtle.forward(165)
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)
Mohammed Alfathali
import turtle
m=turtle.Turtle()
for x in range(0,4):
m.forward(100)
m.left(90)
(x)


the code works fine on idle but at rep.it , i get this error
Traceback (most recent call last):
File "python", line 2, in
_tkinter.TclError: no display name and no $DISPLAY environment variable
gagan parkiti
https://repl.it/EwbS/0
Tamilisetti Chakradhar
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
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)
Ahmed H Bal
import turtle


# Make a square with the 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)
Federico Nardini
import turtle

my_turtle=turtle.Turtle()

my_turtle.forward(50)
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)
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
Vikramjit singh
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/0

Nathan Downey
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.
Marc Rommel F, Briones
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)
Joren aerts
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)
Nahian Eshan
https://repl.it/EuVR/0
AdrianG03
https://repl.it/EuNq/1
Imran Anees
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)
Filipe Pinto
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)
Berkay Tekin
https://repl.it/EuCk/0 i wanted to have a triangle instead. yey!
Sasa Antal
Hey i got a problem. it says AttributeError: 'Turtle' object has no attribute 'letf' on line 8 in main.py ? What i did wrong ?
patrick mich
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)
Nishan Kumar Ghosh
https://repl.it/Et76/0
Arya Maulana
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)
Xerxes
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)
lucca bica
import turtle


# Make a square with the turtle.
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)
Seyma Sean
https://repl.it/EtF6/0
David Zambrano
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)
>>>
sonam chophel
import turtle
sonam = turtle.Turtle()
sonam.forward (100)
sonam.left (90)
sonam.forward(100)
sonam.left (90)
sonam.forward (100)
sonam.left (90)
sonam.forward (100)
sonam.left (90)
sonam.forward (10)
sonam.left (90)
sonam.forward (90)
sonam.right (90)
sonam.forward (80)
sonam.right (90)
sonam.forward (80)
sonam.right (90)
sonam.forward (70)
sonam.right (90)
sonam.forward (70)
sonam.right (90)
sonam.forward (60)
sonam.right (90)
sonam.forward (60)
sonam.right (90)
sonam.forward (50)
sonam.right (90)
sonam.forward (50)
sonam.right (90)
sonam.forward (40)
sonam.right (90)
sonam.forward (40)
sonam.right (90)
sonam.forward (30)
sonam.right (90)
sonam.forward (30)
sonam.right(90)
sonam.forward (20)
sonam.right (90)
sonam.forward (20)
sonam.right (90)
sonam.forward (10)
sonam.right(90)
sonam.forward (10)
sonam.right(90)
sonam.forward (5)
sonam.right(90)
sonam.forward(5)
t_lou
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)
william ford
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)
Jason Waldron
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(180)
my_turtle.forward(100)
my_turtle.right(45)
my_turtle.forward(70)
my_turtle.right(90)
my_turtle.forward(70)
my_turtle.right(45)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(100)
my_turtle.right(90)
my_turtle.forward(50)
my_turtle.right(90)
my_turtle.forward(10)
my_turtle.left(90)
my_turtle.forward(30)
my_turtle.left(180)
my_turtle.forward(60)
my_turtle.left(180)
my_turtle.forward(30)
my_turtle.right(90)
my_turtle.forward(20)
my_turtle.right(90)
my_turtle.forward(30)
my_turtle.right(180)
my_turtle.forward(60)
my_turtle.right(180)
my_turtle.forward(30)
my_turtle.left(90)
my_turtle.forward(10)
my_turtle.right(90)
my_turtle.forward(30)
my_turtle.left(90)
my_turtle.forward(20)
my_turtle.right(180)
my_turtle.forward(20)
my_turtle.right(90)
my_turtle.forward(60)
my_turtle.right(90)
my_turtle.forward(20)
my_turtle.right(180)
my_turtle.forward(20)
my_turtle.left(90)
my_turtle.forward(30)
my_turtle.left(90)
my_turtle.forward(40)
my_turtle.right(90)
my_turtle.forward(30)
my_turtle.right(180)
my_turtle.forward(30)
my_turtle.right(25)
my_turtle.forward(30)
my_turtle.right(180)
my_turtle.forward(30)
my_turtle.right(115)
my_turtle.forward(30)
my_turtle.right(180)
my_turtle.forward(30)
my_turtle.left(50)
my_turtle.forward(20)
my_turtle.right(180)
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)
SyntaxError: invalid syntax
>>> my_turtle.left(90)
>>> my_turtle.forward(100)


https://repl.it/languages/python3
Samuel White
Finally got it working!!! Had to use Visual Studio! import turtle

t = turtle.Pen()
t.shape("turtle")
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.forward(100)
Samuel White
It says import turtle AttributeError: 'Turtle' object has no attribute 'foward' on line 5 in main.py
What do I do? I ran it in Trinket on the page, not IDLE.

Md Abdullah Al Maruf
I has little bit doubt about the axis.but now may be its maximum clear :)here i done some simple math...........btw...tnk u so much #Quzi_bro

import turtle
my_turtle=turtle.Turtle()
my_turtle.forward(90)
my_turtle.left(90)
my_turtle.forward(90)
my_turtle.left(90)
my_turtle.left(45)
my_turtle.forward(127.28)
my_turtle.left(45)
my_turtle.left(45)
my_turtle.forward(127.28)
my_turtle.left(135)
my_turtle.forward(90)
my_turtle.right(90)
my_turtle.forward(90)
my_turtle.right(135)
my_turtle.forward(127.28)
my_turtle.right(135)
my_turtle.forward(180)
my_turtle.right(135)
my_turtle.forward(127.28)
Niklas Lauren
import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
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)
Abel hristodor
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)
Md Abdullah Al Maruf
how is tht ? ;)
>>> import turtle
>>> my_turtle=turtle.Turtle()
>>> my_turtle.forward(120)
>>> my_turtle.right(90)
>>> my_turtle.forward(120)
>>> my_turtle.left(45)
>>> my_turtle.back(169.705627)
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)
Michael
my_turtle = turtle.Turtle ()
>>> my_turtle.forward (100)
>>> my-turtle.left (90)
Traceback (most recent call last):
File "", line 1, in
my-turtle.left (90)
NameError: name 'my' is not defined
>>> my_turtle.left (90)
>>> my_turtle.forward (100)
>>> my_turtle.left (90)
>>> my_turtle.forward (100)
>>> my_turtle.left (90)
>>> my_turtle. forward (100)
Jamie
https://repl.it/Elo7/0
Lucian
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)

turtle.done()









David
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)
Rafeh Qazi
https://repl.it/ElX6/0
mongi
from turtle import *

x = 0
while x t = Turtle()
tt = Turtle()

t.left(x)
t.forward(50)
tt.left(x)
tt.forward(50)

t.left(15)
t.forward(80)
t.right(30)
t.forward(80)

tt.right(15)
tt.forward(80)
tt.left(30)
tt.forward(80)
x += 30

x = 0
while x t = Turtle()
tt = Turtle()

t.right(x)
t.forward(50)
tt.right(x)
tt.forward(50)

t.left(15)
t.forward(80)
t.right(30)
t.forward(80)

tt.right(15)
tt.forward(80)
tt.left(30)
tt.forward(80)
x += 30


and yea, it's funny!
Jason gomes
is that work? msg syntaxError: invalid syntax
while x * t * = Turtle()
Jason gomes
import turtle

#nice and easy

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)
Abboud Mahmi
from where did u get the python turtle graphics????
chesil shibu
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.
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)


Lucian
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)
Charles Lungu
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)
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)
Jacob Teramo
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)
Tharanga Mendis
import turtle
>>>
>>>
>>> my_turtle = turtle.turtle()
Traceback (most recent call last):
File "", line 1, in
my_turtle = turtle.turtle()
AttributeError: module 'turtle' has no attribute 'turtle'
>>> my_turtle = turtle.Turtle()
>>> my_turtle = forward(100)
Traceback (most recent call last):
File "", line 1, in
my_turtle = forward(100)
NameError: name 'forward' is not defined
>>> my_turtle.forwaed(100)
Traceback (most recent call last):
File "", line 1, in
my_turtle.forwaed(100)
AttributeError: 'Turtle' object has no attribute 'forwaed'
>>> 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)
Anidhito Irmandharu
i guess its
import turtle


batman = turtle.Turtle()

batman.forward(100)
batman.left(90)
batman.forward(100)
batman.left(90)
batman.forward(100)
batman.left(90)
batman.forward(100)
batman.left(90)
# Make a square with the turtle.
Timotei Popa
I think:

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)
Rafeh Qazi
You should always run your code before hand in the console to make sure! But this looks good to me.
Michael Brenton
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)
Rafeh Qazi
Great work!