Learn to Code via Tutorials on Repl.it!

← Back to all posts
an extremly quick basic python turtle tutorial
cannonthepom123

DISCLAIMER: THERE IS NO default TURTLE IN TURTLE ITS JUST AN ARROW THAT'S LOKS LIKE ITS FROM GOOGLE MAPS

Turtle is a python lib and is very easy to use.
i is like an HTML canvas but with python and in my opinion it's better.

importing turtle

First, you must create a python project and type the code below

wow
Now install patience
plug a USB cord from the computer to your brain
then type

then run the code
(please don't)

turtle basics

each turtle command starts with ' turtle. ' unless you imported the specific command(more on that later)

turtle commands

that's all the basic commands you can find more by googling and stuff

#importing specific commands

if you're tired of typing "turtle"
you can import specific turtle commands.

now instead of turtle.forward(10) is forward(10)
or any other command you imported.

Voters
ArjunDaCoderr
cannonthepom123
Comments
hotnewtop
DigitioSolution

School is a rating system. Children who are educated in school can well discover their own strengths and weaknesses. And if they want to learn python and dfferent languages then this website is best for them. What are their strengths and weaknesses compared to others? To know the answer to this question check this website  So as to better position yourself.

ArjunDaCoderr
ArjunDaCoderr

[deleted]

turtle.shape("turtle") makes it turtle instead of arrow

cannonthepom123

@ChickenTendys
yes but the default drawing part is arrow let me update it