Changes That’ll Make a Big Difference With Your Learning Programming For Kids : Any Kid Can Code
Here, we are going to use library named turtle and how:

import turtle

Then, type magical keywords and give suitable name to your turtle, I choose “jumper”.

jumper = turtle.pen() or see in case you have to use turtle.Pen() [CAPITAL P]

And suddenly we have the new window open or so called our own techie playground

Our Play area to make innovative figures

We have our own turtle

Most of you want to see turtle, lets give this arrow shape of turtle. Refer above image.

jumper.shape(“turtle”) or turtle.shape(“turtle”)

Now you are ready to move with turtle. Where you will move there will be line drawn. Thus you can create different images.

For basic understanding of the screen, we should know the X,Y axis. X axis is horizontal line and Y axis is vertical line. Coordinates (0,0) where X is 0 and Y is 0, is the position where our turtle is now. Try to Grasp it. If not, don’t worry we have commands to move turtle in playground.

2 dimensioal chart

Basic commands to play with Turtle

forward: to move forward in the direction of its mouth

left: to change the direction. Bit tricky, you have to have knowledge of angles.

up: When you move, it wont make any line, till you bring it down.

down: To bring it down, otherwise your turtle is flying turtle

shape, width, goto, color are the other commands to play with.

If you want to go more deeper, please go to the below link and take a lead:

https://docs.python.org/3.1/library/turtle.html

Lets make use of the above commands and make quadrilateral (square or rectangle)

I ran below commands in sequence and here we go, we have our first magic figure ready:

jumper.forward(100)

jumper.left(90)

jumper.forward(100)

jumper.left(90)

jumper.forward(100)

jumper.left(90)

jumper.forward(100)

our first creation: Square

jumper.left(90), will change the direction of your turtle in left upto 90 degrees. And, if you want to be creative, change this from 90 to some other number and see the magic. You will have magical figures turning up.

Just one important thing to mention, when you type command, try to use up arrow key. It will bring the previous commands and you need not to type and give pain to your fingers.

Magic to master this is to practice and practice. So, try to make 5–10 different figures. And, challenge yourself by putting the color inside those figures. It is pretty simple. I will be coming up with next blogs to that where we will learn new things in programming like conditions, loop and their types, variables and their usage etc.

Name your turtle and move as you want. Code and don’t forget to have fun! Included Links below for further Learnings!
['Laxman Singh']
['Kids Programming', 'Python', 'Kids', 'Technology', 'Kids And Tech']