filmov
tv
Python Turtle Basics - Drawing Circles (loops and circle command)

Показать описание
In this video we introduce a quick and easy change to our previous code so that we can quickly change to draw any shape.
We add a variable to the code so that we can quickly change one line of code to change the number of sides and still get perfect shapes.
This is demonstrated from drawing a decagon and circle (well a 360 sided shape).
At the end, I also demonstrate how to use Turtle's circle command to draw a quick circle.
We add a variable to the code so that we can quickly change one line of code to change the number of sides and still get perfect shapes.
This is demonstrated from drawing a decagon and circle (well a 360 sided shape).
At the end, I also demonstrate how to use Turtle's circle command to draw a quick circle.