Course Introduction

Install Python

Learn the Basics Through Visual Exercises

The Power of Functions

Project: Circle of Squares

Data Types (Let's Learn Some Adult Programming Stuff)

Conditionals and Control Flow

Exercises (a.k.a Drill and Kill)

Video and Written Solutions for Exercises

Project 2: Rock Paper Scissors

Interactive Exercises

## 399 comments

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)

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)

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

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

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

turtle = turtle.Turtle()

turtle.forward(100)

turtle.left(90)

turtle.forward(100)

turtle.left(90)

turtle.forward(100)

turtle.left(90)

turtle.forward(100)

my_turtle = turtle()

my-turtle.back(50)

my-turtle.up(50)

my_turtle.foward(50)

my_turtle.down(50)

This is awesome!

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

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)

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 = 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()

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

my_turtle.backward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.upward(100)

File "python", line 2, in

_tkinter.TclError: no display name and no $DISPLAY environment variable

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)

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

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

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

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)

https://repl.it/FwVH/0

MY_TURTLE.right(90)

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)

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

I shortened "my_turtle" to "T" because it's less writing lol

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)

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

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)

my_turtle = turtle.Turtle()

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.right(50)

my_turtle.forward(100)

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)

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)

>>> ttl = turtle.Turtle()

>>> ttl.forward(300)

>>> ttl.right(90)

>>> ttl.forward(300)

>>> ttl.right(90)

>>> ttl.forward(300)

>>> ttl.right(90)

>>> ttl.forward(300)

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)

my_turtle =turtle()

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

This one worked on rep.it.

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)

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

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

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

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

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)

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

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

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)

my_turtle = turtle.Turtle()

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.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)

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)

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

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

import turtle

turtle = turtle.Turtle()

while x x = x + 1

turtle.forward(100)

turtle.left(90)

# 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()

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.right(90)

>>>

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

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.

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)

for i in range(0,4):

myturtle.forward(100);

myturtle.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 = 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.

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 = 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()

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)

turtle.left(90)

turtle.forward(100)

turtle.right(60)

turtle.forward(100)

turtle.left(30)

turtle.forward(100)

turtle.forward(100)

turtle.left(90)

turtle.forward(100)

turtle.left(90)

turtle.forward(100)

turtle.left(90)

turtle.forward(100)

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)

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

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

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.

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 = 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()

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

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

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.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)

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

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)

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

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

myturtle = turtle.Turtle()

myturtle.forward(50)

myturtle.left(90)

myturtle.forward(50)

myturtle.left(90)

myturtle.forward(50)

myturtle.left(90)

myturtle.forward(50)

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)

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

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

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 = 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.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)

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

myturtle=turtle.Turtle()

myturtle.forward(100)

myturtle.left(90)

myturtle.forward(100)

myturtle.left(90)

myturtle.forward(100)

myturtle.left(90)

myturtle.forward(100)

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)

This is really interesting.

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

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)

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.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()

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

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

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)

>>>

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

>>>

>>>

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

>>>

>>> my_turtle = turtle.Turtle()

>>> my_turtle.forward(100)

>>> my_turtle.right(90)

>>> my_turtle.forward(100)

>>> my_turtle.right(90)

>>> my_turtle.forward(100)

>>> my_turtle.right(90)

>>> my_turtle.forward(100)

my_turtle = 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.

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

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

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)

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)

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”.

it should open a new shell and module

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

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

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

https://www.repl.it/F6SC/2

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)

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)

>>>

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

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)

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

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

>>>

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

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)

>>>

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.

>>> 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.

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

t = turtle.Turtle()

t.forward(100)

t.left(90)

t.forward(100)

t.left(90)

t.forward(100)

t.left(90)

t.forward(100)

my_turtle = turtle.Turtle()

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.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()

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

https://repl.it/FZn5/0

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)

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)

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)

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.right(90)

my_turtle.forward(50)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(50)

https://repl.it/FZGY/0

my_turtle = turtle.Turtle()

for i in range(4):

my_turtle.forward(100)

my_turtle.left(90)

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

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

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.

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

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)

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)

https://repl.it/FWHE/0

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)

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

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

>>> 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" 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! :)

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.

>>>

>>>

>>>

>>>

>>>

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

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.

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 = 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

https://repl.it/FSm9/3

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)

I did it bro.

>>> 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...

>>>

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

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)

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.

x=turtle.Turtle()

x.forward(100)

x.left(90)

x.forward(100)

x.left(90)

x.forward(100)

x.left(90)

x.forward(100)

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

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)

>>>

>>>

>>> 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 = 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

>>>

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

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

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)

https://trinket.io/python/e940cea3e7

https://repl.it/FQUz

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)

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)

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

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)

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

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.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

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.

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

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

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

import turtle

my_turtle =turtle.Turtle()

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle = turtle.Turtle()

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)

just wanted to ask how do you open the python graphics thing???? at 2:02

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)

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)

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

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

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)

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)

# 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()

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

>>>

you mistakenly typed :turle in the last step..

that would be it..

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)

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.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.

>>>

>>> turtle.forward(100)

>>> turtle.right(90)

>>> turtle.forward(100)

>>> turtle.right(90)

>>> turtle.forward(100)

>>> turtle.right(90)

>>> turtle.forward(100)

>>>

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

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

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)

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)

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.

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

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

>>>

>>>

>>>

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

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

Link

https://trinket.io/python/5f6a74dca4

>>> myturtle.forward(100)

>>> myturtle.left(90)

>>> myturtle.forward(100)

>>> myturtle.left(90)

>>> myturtle.forward(100)

>>> myturtle.left(90)

>>> myturtle.forward(100)

# Make a square with the turtle.

a=turtle.Turtle()

a.forward(100)

a.left(90)

a.forward(100)

a.left(90)

a.forward(100)

a.left(90)

a.forward(100)

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)

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

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)

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.

" 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

ty tho might've saved me from a lot of trouble in the future

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

>>>

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

>>>

Ubica=turtle.Turtle()

Ubica.forward(100)

Ubica.left(90)

Ubica.forward(100)

Ubica.left(90)

Ubica.forward(100)

Ubica.left(90)

Ubica.forward(100)

ameer=turtle.Turtle()

ameer.forward(100)

ameer.left(90)

ameer.forward(100)

ameer.left(90)

ameer.forward(100)

ameer.left(90)

ameer.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)

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

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

>>>

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

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(120)

>>> my_turtle.left(90)

>>> my_turtle.forward(120)

>>> my_turtle.left(90)

>>> my_turtle.forward(120)

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

# 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()

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)

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

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)

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.

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

import turtle

my_turtle = turtle.Turtle()

moving = 1

while moving my_turtle.forward(200)

my_turtle.left(89)

moving = moving + 1

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

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

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

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)

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)

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?

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

turtle = turtle.Turtle()

def square():

for i in range(0, 4):

turtle.forward(100)

turtle.right(90)

square()

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

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

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

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

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

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

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

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)

How I can fined Python Turtle Graphics ?

I'm using windows 10 and python 3.6 !

dj = turtle.Turtle()

dj.forward(100)

dj.left(90)

for x in range(0,3):

dj.forward(100)

dj.left(90)

x+=1

# 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()

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.

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

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

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)

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

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

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)

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

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

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

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

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

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.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.

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

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)

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

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

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.

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

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle = 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()

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

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

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

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.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(100)

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

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.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()

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)

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

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)

What do I do? I ran it in Trinket on the page, not IDLE.

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)

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)

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(120)

>>> my_turtle.right(90)

>>> my_turtle.forward(120)

>>> my_turtle.left(45)

>>> my_turtle.back(169.705627)

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

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

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)

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!

while x * t * = 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)

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.

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)

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

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)

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

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

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)

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.

import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle = turtle.turtle()

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)