Draw Shapes Using Python Turtle

Published: 14 November 2020
on channel: Coder Prince
118
2

Learn to create any desired shapes using Python-3 and Turtle Library.
Python turtle is a special library in python using which one can draw in a drawing board like canvas.
In this video, I have used the simple basic commands to create some common shapes, make use of the below list to sketch your ideas onto the virtual canvas drawing board!!!

FORMAT: METHOD --------- PARAMETER --------- DESCRIPTION.

Turtle() ------ None --------- It creates and returns a new turtle object
forward() ------- amount --------- It moves the turtle forward by the specified amount
backward() --------- amount --------- It moves the turtle backward by the specified amount
right() --------- angle --------- It turns the turtle clockwise
left() --------- angle --------- It turns the turtle counter clockwise
penup() --------- None --------- It picks up the turtle’s Pen
pendown() --------- None --------- Puts down the turtle’s Pen
up() --------- None --------- Picks up the turtle’s Pen
down() --------- None --------- Puts down the turtle’s Pen
color() --------- Color name --------- Changes the color of the turtle’s pen
fillcolor() -------- Color name --------- Changes the color of the turtle will use to fill a polygon
heading() --------- None --------- It returns the current heading
position() --------- None --------- It returns the current position
goto() -------- x, y -------- It moves the turtle to position x,y
begin_fill() --------- None -------- Remember the starting point for a filled polygon
end_fill() --------- None --------- It closes the polygon and fills with the current fill color
dot() --------- None --------- Leaves the dot at the current position
stamp() --------- None --------- Leaves an impression of a turtle shape at the current location
shape() --------- shape-name --------- Should be ‘arrow’, ‘classic’, ‘turtle’ or ‘circle’


The above values are taken from,
Tutorials-Point: https://www.tutorialspoint.com/turtle... ,
one of the best platform to learn tech.


On this page of the site you can watch the video online Draw Shapes Using Python Turtle with a duration of hours minute second in good quality, which was uploaded by the user Coder Prince 14 November 2020, share the link with friends and acquaintances, this video has already been watched 118 times on youtube and it was liked by 2 viewers. Enjoy your viewing!