Hi! buddy. You have dona a great job for us(beginner's). We have no idea how to learn python in earlier time with clear instruction. But you have solved all of my prob. Thank you a lot!

I have a question. How fast can one learn this and get a job? I need the money to buy my parents house before they sell it. The house has immense sentimental value to me.

LOL; I did this basic computer programming back in 1987, in my 3rd grade computer class once a week. I remember how huge the apple machines were then, and how I thought, "this is boring and complicated, why should I learn this? We won't need this shit when we're older!"… Well, fast forward to 2018, and I find out college courses (CISC) are actually still teaching this!… WHY????

Really like your style! Have been doing statistical analysis in R and your videos help me to take the next step: Python, really like it 🙂 And omg… I only found out after the next video… In the tutorial I thought the exercise was: draw a SQUID instead of a square :'D. I was already thinking: wow you're really trying to get people to be creative… So.. Thanks to your help, I actually did make a Squid : https://github.com/lotwij/DrawingASquid

Okay, I know some will look at this and end saying, "Whoa!" I remember some of my Pascal programming from years ago, and thought, "Hey, why not show off the old toy Spirograph!" So, ladies and gents here's the code for that –

For people who are getting this error:Traceback (most recent call last): File "C:/Users/Desktop/Python 3.7.1/Lessons/turtle.py", line 1, in <module> import turtle File "C:/Users/Desktop/Python 3.7.1/Lessonsturtle.py", line 3, in <module> my_turtle = turtle.Turtle() AttributeError: module 'turtle' has no attribute 'Turtle'Please note that you cannot name your file 'turtle.py' cause then when you 'import turtle' it will import the file you created and therefore will not find the attribute 'Turtle'. solution: name you file something else, other than 'turtle.py'.

import turtle my_turtle=turtle.Turtle() my_turtle.forward(125) my_turtle.left(90) my_turtle.forward(125) my_turtle.left(90) my_turtle.forward(125) my_turtle.left(90) my_turtle.forward(125) # Make a square with the turtle. This is what I did!!! IM STUDYING IN 9TH GRADE and I LOVE THE WAY YOU EXPLAIN PROGRAMMING THANKS A LOT!!!!!!!!!!!!!!!!!!

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

import turtle bob=turtle.Turtle bob.bgcolor("black") for i in range(42354135384135181354843513): for i in range(1): bob.pencolor("red") bob.forward(150) bob.left(75) for i in range(1): bob.pencolor("orange") bob.forward(120) bob.left(75) for i in range(1): bob.pencolor("yellow") bob.forward(100) bob.left(75) for i in range(1): bob.pencolor("green") bob.forward(80) bob.left(75) for i in range(1): bob.pencolor("blue") bob.forward(60) bob.left(75)

This is what happens when I do it? hmmm >>> import turtle >>> my_turtle = turtle.turtle() Traceback (most recent call last): File "<pyshell#7>", line 1, in <module> my_turtle = turtle.turtle() AttributeError: module 'turtle' has no attribute 'turtle'

import turtle

wn = turtle.screen()

my_turtle = turtle.Turtle()

my_turtle.forward(100)

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

#Make a square with the turtle.

my_turtle=turtle.Turtle()

my_turtle=turtle.forward(200)

my_turtle=turtle.left(90)

my_turtle=turtle.forward(200)

my_turtle=turtle.left(90)

my_turtle=turtle.forward(200)

my_turtle=turtle.left(90)

my_turtle=turtle.forward(200)

does that work on python 3.7.0?

Bro… I wanna say something about you. You are AMAZING! 🙂

Do you dare to run dis?

import turtle as t

def suorakulmio(horizontal, vertical, color):

t.pendown()

t.pensize(1)

t.color(color)

t.begin_fill()

for counter in range(1, 3):

t.forward(horizontal)

t.right(90)

t.forward(vertical)

t.right(90)

t.end_fill()

t.penup()

t.speed("fastest")

t.bgcolor("black")

#jalkaterät

t.penup()

t.goto(-100, -150)

suorakulmio(50, 20, "blue")

t.goto(-30, -150)

suorakulmio(50, 20, "blue")

#jalat

t.goto(-25, -50)

suorakulmio(15, 100, "grey")

t.goto(-55, -50)

suorakulmio(-15, 100, "grey")

#ruumis

t.goto(-90, 100)

suorakulmio(100, 150, "red")

#käsivarret

t.goto(-150, 70)

suorakulmio(60, 15, "grey")

t.goto(-150, 110)

suorakulmio(15, 40, "grey")

t.goto(10, 70)

suorakulmio(60, 15, "grey")

t.goto(55, 110)

suorakulmio(15, 40, "grey")

#kaula

t.goto(-50, 120)

suorakulmio(15, 20, "grey")

#pää

t.goto(-85, 170)

suorakulmio(80, 50, "red")

#silmät

t.goto(-60, 160)

suorakulmio(30, 10, "white")

t.goto(-60, 160)

suorakulmio(5, 5, "black")

t.goto(-45, 155)

suorakulmio(5, 5, "black")

t.hideturtle()

#suu

t.goto(-65, 135)

t.right(5)

suorakulmio(40, 5, "black")

Hi! buddy. You have dona a great job for us(beginner's). We have no idea how to learn python in earlier time with clear instruction. But you have solved all of my prob. Thank you a lot!

>>> import turtle

>>>

>>>

>>>

>>> my_turtle = turtle.Turtle()

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.right(90)

>>> my_turtle.forward(50)

>>> my_turtle.right(90)

>>> my_turtle.forward(150)

>>> my_turtle.right(90)

>>> my_turtle.forward(200)

>>> my_turtle.right(90)

>>> my_turtle.forward(150)

>>> my_turtle.right(90)

>>> my_turtle.forward(50)

>>> my_turtle.right(45)

>>> my_turtle.forward(141)

>>> my_turtle.right(180)

>>> my_turtle.forward(70.5)>>> my_turtle.left(90)

>>> my_turtle.forward(70.5)

>>> my_turtle.right(180)

>>> my_turtle.forward(141)

>>> my_turtle.right(45)

>>> my_turtle.forward(50)

>>> my_turtle.right(135)

>>> my_turtle.forward(70)

>>> my_turtle.left(90)

>>> my_turtle.forward(70)

>>> my_turtle.right(90)

>>> my_turtle.forward(70)

>>> my_turtle.right(90)

>>> my_turtle.forward(70)

>>> my_turtle.left(90)

>>> my_turtle.forward(70)

>>> my_turtle.right(90)

>>> my_turtle.forward(70)

>>> my_turtle.right(90)

>>> my_turtle.forward(70)

>>> my_turtle.right(90)

>>> my_turtle.right(180)

>>> my_turtle.forward(70)

>>> my_turtle.right(135)

>>> my_turtle.forward(50)

>>>

https://repl.it/repls/SaneIroncladChord

Traceback (most recent call last):

File "E:mineDocumentspython exerciseturtle.py", line 1, in <module>

import turtle

File "E:mineDocumentspython exerciseturtle.py", line 2, in <module>

my_turtle = turtle.Turtle()

AttributeError: module 'turtle' has no attribute '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)

hi there i made hexagon

import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(60)

my_turtle.left(60)

my_turtle.forward(60)

my_turtle.left(60)

my_turtle.forward(60)

my_turtle.left(60)

my_turtle.forward(60)

my_turtle.left(60)

my_turtle.forward(60)

my_turtle.left(60)

my_turtle.forward(60)

all so i am like your videos and i will be watch u more

thank you bro

https://repl.it/@harsha79000/PrudentHotDownloads

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)

I have a question. How fast can one learn this and get a job? I need the money to buy my parents house before they sell it. The house has immense sentimental value to me.

import turtle

while True:

Line = turtle.Turtle()

Line.forward(100)

Line.left(90)

Line.forward(100)

Line.left(90)

Line.forward(100)

Line.left(90)

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

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

LOL; I did this basic computer programming back in 1987, in my 3rd grade computer class once a week. I remember how huge the apple machines were then, and how I thought, "this is boring and complicated, why should I learn this? We won't need this shit when we're older!"… Well, fast forward to 2018, and I find out college courses (CISC) are actually still teaching this!… WHY????

>>> import turtle

>>>

>>>

>>>

>>> my_turtle = turtle.Turtle()

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

t=painter1=turtle.Turtle()

pencolor=input("#FF4500")

t.color(pen_color,fill_color)

t.begin_fill()

for_inrange(3);

t.forward(200)

t.right(90)

t.forward(25)

t.right(90)

t.forward(200)

t.right(90)

t.forward(25)

t.right(180)

t.forward(25)

t.end_fill()

it is not working .if any correction in a program???? @Rafeh Qazi @clever programmer

import turtle as turtle

for i in range(4):

turtle.forward(100)

turtle.right(90)

https://repl.it/@suniloe/StainedWateryMicroscope

https://repl.it/@suniloe/StainedWateryMicroscope

Hi. Thank you for the tutorials. Do you still have the coding exercises available? I tried to click on the link, but it was a broken link

.

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

Hi Rafeh!

Really like your style! Have been doing statistical analysis in R and your videos help me to take the next step: Python, really like it 🙂 And omg… I only found out after the next video… In the tutorial I thought the exercise was: draw a SQUID instead of a square :'D. I was already thinking: wow you're really trying to get people to be creative… So.. Thanks to your help, I actually did make a Squid : https://github.com/lotwij/DrawingASquid

Thank you again for the videos/course 🙂

Import turtle

x=turtle.Turtle()

x.forwad(100) X4

x.left(90) X4

This how I got a square box

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)

for me the screen just disappears after like a second

my_turtle = turtle.Turtle()

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(99)

Someone learning about python in 2019?

Good, quick lesson. Thanks!

my_turtle.forward(100)

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 do u resize turtle?

lets work with turtle, it is fun.

Traceback (most recent call last):

File "C:/Users/Wahida Akter/AppData/Local/Programs/Python/Python37-32/hye hye.py", line 4, in <module>

import turtle

File "C:/Users/Wahida Akter/AppData/Local/Programs/Python/Python37-32turtle.py", line 1, in <module>

my_turtle =turtle.Turtle()

NameError: name 'turtle' is not defined

what is the problem with this??

facing each and every time

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)

import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.backward(100)

my_turtle.left(90)

my_turtle.backward(100)

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

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)

print("Hi guys")

whats the point in naming turtle. in the line of my_turtle = turtle.Turtle()

im guessing you are just showing us that you can name turtle? other than that is there any other reason?

How to simplify this code?

https://repl.it/repls/PreviousAgreeableJumpthreading

Okay, I know some will look at this and end saying, "Whoa!" I remember some of my Pascal programming from years ago, and thought, "Hey, why not show off the old toy Spirograph!" So, ladies and gents here's the code for that –

import turtle

my_turtle = turtle.Turtle()

my_turtle.speed(0)

def square():

loop = 0

while loop < 4:

my_turtle.forward(150)

my_turtle.left(90)

loop += 1

def basic_spiro():

i = 0

while i < 200:

square()

my_turtle.left(23)

i += 1

basic_spiro()

Wonder if anyone used this to automatically draw a penis

For people who are getting this error:Traceback (most recent call last):

File "C:/Users/Desktop/Python 3.7.1/Lessons/turtle.py", line 1, in <module>

import turtle

File "C:/Users/Desktop/Python 3.7.1/Lessonsturtle.py", line 3, in <module>

my_turtle = turtle.Turtle()

AttributeError: module 'turtle' has no attribute 'Turtle'Please note that you cannot name your file 'turtle.py' cause then when you 'import turtle' it will import the file you created and therefore will not find the attribute 'Turtle'. solution: name you file something else, other than 'turtle.py'.

Hi how many of you have letter A on their name like me

Here is A with turtle

from turtle import *

left(120)

forward(100)

left(120)

forward(100)

left(180)

forward(50)

right(60)

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)

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 turtlemy_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 name 🙂

import turtle

n = turtle.Turtle()

n.backward(100)

n.forward(100)

n.right(130)

n.forward(160)

n.left(130)

n.forward(100)

n.left(70)

n.forward(135)

n.right(140)

n.forward(135)

n.backward(55)

n.right(110)

n.forward(58)

n.backward(58)

n.left(110)

n.forward(55)

n.left(70)

n.forward(1)

n.left(90)

n.forward(130)

n.right(160)

n.forward(140)

n.left(160)

n.forward(130)

>>> my_turtle = turtle.Turtle()

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

Hope fully its right

import turtle

my_turtle=turtle.Turtle()

my_turtle.forward(125)

my_turtle.left(90)

my_turtle.forward(125)

my_turtle.left(90)

my_turtle.forward(125)

my_turtle.left(90)

my_turtle.forward(125)

# Make a square with the turtle.

This is what I did!!!

IM STUDYING IN 9TH GRADE and I LOVE THE WAY YOU EXPLAIN PROGRAMMING

THANKS A LOT!!!!!!!!!!!!!!!!!!

Repl.it/@rahulpoddar36/square

how to show the diamond shape turtle parallelogram chapter 2

import turtle

# Make a square with the turtle.

sq_Turtle=turtle.Turtle()

sq_Turtle.forward(100)

sq_Turtle.left(90)

sq_Turtle.forward(100)

sq_Turtle.left(90)

sq_Turtle.forward(100)

sq_Turtle.left(90)

sq_Turtle.forward(100)

sq_Turtle.left(90)

t.fd(100)

>>> t.lt(90)

>>> t.fd(90)

>>> t.lt(90)

>>> t.fd(90)

>>> t.fd(10)

>>> t.lt(90)

>>> t.fd(100)

>>> t.back(10)

my_turtle = turtle.Turtle()

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

turtle = turtle.Turtle()

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.forward(100)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

>>> turtle.left(90)

>>> turtle.forward(100)

It doesn't, import turtel

my_turtle = turtle.Turtle()

my_turtle.forward(100)

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

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

my_turtle.right(90)

my_turtle.forward(100)

>>> my_turtle=turtle.Turtle()

>>> my_turtle=turtle.forward(100)

>>> my_turtle=turtle.right(90)

>>> my_turtle=turtle.forward(100)

>>> my_turtle=turtle.left(90)

>>> my_turtle=turtle.backward(100)

>>> my_turtle=turtle.left(90)

>>> my_turtle=turtle.forward(100)

Can we also create a circle in python just like as we did square

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)

hi, i use atom text editor to run scripts and i tried this but the window won't stay open. help me please!!

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

my_turtle.left(90)

my_turtle.left(90)

my_turtle.left(45)

my_turtle.forward(176)

my_turtle.right(135)

my_turtle.forward(250)

my_turtle.left(135)

my_turtle.forward(176)

my_turtle.left(135)

my_turtle.forward(125)

Here is my code to draw a square with turtle.

import turtle

my_turtle=turtle.Turtle()

my_turtle.backward(100)

my_turtle.right(90)

my_turtle.backward(100)

my_turtle.right(90)

my_turtle.backward(100)

my_turtle.right(90)

my_turtle.forward(100)

I get an error

Atribute error:module “turtle” has no attribute “Turtle”

https://youtu.be/LGGyxj_k4e8

A little something.

square:

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

>>>

import turtle

my_turtle = turtle.Turtle()

my_turtle.fd(100)

my_turtle.lt(90)

my_turtle.fd(100)

my_turtle.lt(90)

my_turtle.fd(100)

my_turtle.lt(90)

my_turtle.fd(100)

import turtle

my_turtle = turtle.Turtle()

my_turtle.forward(1080)

my_turtle.left(90)

my_turtle.forward(1080)

my_turtle.left(90)

my_turtle.forward(1080)

my_turtle.left(90)

my_turtle.forward(1080)

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)

import turtle

you_turtle = turtle.Turtle()

you_turtle.forward(100)

you_turtle.left(90)

you_turtle.forward(100)

you_turtle.right(90)

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

bro in python(3.7.3 version) it shows error like this:

>> my_turtle.forward(125)

Traceback (most recent call last):

File "<pyshell#63>", line 1, in <module>

my_turtle.forward(125)

NameError: name 'my_turtle' is not defined

>>> my turtle

SyntaxError: invalid syntax

>>> import turtle

>>> my turtle = turtle.Turtle()

SyntaxError: invalid syntax

>>> my_turtle = turtle.Turtle()

>>> my_turtle.forward(100)

>>> my_turtle.left

<bound method TNavigator.left of <turtle.Turtle object at 0x10a56fcf8>>

>>> my_turtl.left(90)

Traceback (most recent call last):

File "<pyshell#16>", line 1, in <module>

my_turtl.left(90)

NameError: name 'my_turtl' is not defined

>>> MY_TURTLE.LEFT(90)

Traceback (most recent call last):

File "<pyshell#17>", line 1, in <module>

MY_TURTLE.LEFT(90)

NameError: name 'MY_TURTLE' is not defined

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.(left)

SyntaxError: invalid syntax

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>>

import turtle

squareTurtle = turtle.Turtle()

forLoopSQTurtle = turtle.Turtle()

squareTurtle.speed = 50

forLoopSQTurtle.speed = 20

# straight forward example

squareTurtle.forward(100)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

# Looping 4 times to create a square

for i in range(4):

forLoopSQTurtle.left(90)

forLoopSQTurtle.forward(50)

squareTurtle.right(90)

squareTurtle.forward(50)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

for i in range(4):

forLoopSQTurtle.right(90)

forLoopSQTurtle.forward(50)

squareTurtle.right(180)

squareTurtle.forward(50)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

for i in range(4):

forLoopSQTurtle.forward(50)

forLoopSQTurtle.right(90)

for i in range(4):

forLoopSQTurtle.forward(50)

forLoopSQTurtle.left(90)

squareTurtle.forward(100)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

squareTurtle.forward(50)

squareTurtle.left(90)

turtle.done()

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

import turtle

>>> my_turtle = turtle.Turtle()

>>> my_turtle.forward(100)

>>> my_turtle.upward(100)

Traceback (most recent call last):

File "<pyshell#8>", line 1, in <module>

my_turtle.upward(100)

AttributeError: 'Turtle' object has no attribute 'upward'

>>> my_turtle.left(90)

>>> my_turtle.forward(100)

>>> my_turtle.right(90)

>>> my_turtle.forward(100)

>>>

copy this to get a beautiful pattern

import turtle

bob=turtle.Turtle

bob.bgcolor("black")

for i in range(42354135384135181354843513):

for i in range(1):

bob.pencolor("red")

bob.forward(150)

bob.left(75)

for i in range(1):

bob.pencolor("orange")

bob.forward(120)

bob.left(75)

for i in range(1):

bob.pencolor("yellow")

bob.forward(100)

bob.left(75)

for i in range(1):

bob.pencolor("green")

bob.forward(80)

bob.left(75)

for i in range(1):

bob.pencolor("blue")

bob.forward(60)

bob.left(75)

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

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

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

>>> my_turtle.left(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

>>> my_turtle.forward(25)

>>> my_turtle.left(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

>>> my_turtle.forward(25)

>>> my_turtle.left(90)

>>> my_turtle.forward(10)

>>> my_turtle.left(90)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

>>> my_turtle.forward(25)

>>> my_turtle.left(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(90)

>>> my_turtle.left(180)

>>> my_turtle.forward(10)

>>> my_turtle.left(90)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

>>> my_turtle.forward(25)

>>> my_turtle.left(90)

>>> my_turtle.left(180)

>>> my_turtle.forward(10)

>>> my_turtle.left(180)

>>> my_turtle.forward(10)

>>> my_turtle.right(90)

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

>>> my_turtle.forward(155)

>>> my_turtle.forward(25)

>>> my_turtle.left(180)

>>> my_turtle.forward(180)

>>>

Great video on turtle. The instructions in the book that I bought wouldn't run.

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)

HEY

import turtle

my_turtle = turtle.Turtle()

my_turtle.left(90)

my_turtle.forward(100)

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

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.penup()

my_turtle.forward(50)

my_turtle.pendown()

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(60)

my_turtle.right(90)

my_turtle.penup()

my_turtle.forward(50)

my_turtle.pendown()

my_turtle.right(90)

my_turtle.forward(60)

my_turtle.left(90)

my_turtle.forward(50)

my_turtle.left(90)

my_turtle.forward(60)

my_turtle.penup()

my_turtle.forward(50)

my_turtle.left(90)

my_turtle.forward(50)

my_turtle.pendown()

my_turtle.forward(50)

my_turtle.right(90)

my_turtle.penup()

my_turtle.forward(50)

my_turtle.pendown()

my_turtle.right(90)

my_turtle.forward(100)

my_turtle.right(90)

my_turtle.forward(50)

my_turtle.right(90)

my_turtle.penup()

my_turtle.forward(50)

my_turtle.pendown()

my_turtle.right(90)

my_turtle.forward(50)

This is what happens when I do it? hmmm

>>> import turtle

>>> my_turtle = turtle.turtle()

Traceback (most recent call last):

File "<pyshell#7>", line 1, in <module>

my_turtle = turtle.turtle()

AttributeError: module 'turtle' has no attribute '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 = turtle.Turtle()

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

my_turtle.left(90)

my_turtle.forward(100)

turtle.done()

If you aren't getting a pop-up window with the turtle and you are getting an error like this instead:

ModuleNotFoundError: No module named 'tkinter'

you need to install the following (ubuntu)

sudo apt-get install python3-tk

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

tt = turtle.Turtle()

i = 4

while i >= 1:

tt.forward(100)

tt.left(90)

i = i -1

>>> import turtle

>>> Death = turtle.Turtle()

>>> Death.forward(100)

>>> Death.left(90)

>>> Death(100)

Traceback (most recent call last):

File "<pyshell#10>", line 1, in <module>

Death(100)

TypeError: 'Turtle' object is not callable

>>> Death.forward(100)

>>> Death.left(90)

>>> Death.forward(100)

>>> Death.left(90)

>>> Death.forward(100)

>>> Death.left(135)

>>> Death.forward(100)

>>> Death.forward(50)

how can we make a circle?

The python turtle graphics is not showing. Its showing name error: name 'Turtle' is not defined.

How to get that turtle graphics. Plz help