Log in to save your progress.
<< Previous
Home
Next >>
Note! The window is too narrow to use Pythonlab.dev. Use a device with a keyboard!

Reference

Click on a function to read more.
Turtle
Function
Short description
back()
Moves the turtle backward
begin_fill()
Starts filling with color
circle()
Draws a circle with optional radius
color()
Determines the color the turtle draws with
end_fill()
Ends filling with color
forward()
Moves the turtle forward
goto()
Moves the turtle to a given coordinate
hideturtle()
Hides the turtle
left()
Turns the turtle left a number of degrees
pendown()
Puts the pen down on the drawing area.
penup()
Lifts the pen from the drawing area
right()
Turns the turtle right a number of degrees
shape()
Changes the drawing shape
Screen().setup()
Creates a drawing area with a given size
speed()
Sets the turtle's drawing speed

More turtle tasks

Here are some smaller projects to use your new knowledge.

Quick links

Draw flags

Draw the Ukrainian, Swedish and American flags.

Login to save your progress and your code.

Create the flag of Ukraine

Draw the Ukrainian flag.

Login to save your progress and your code.

Create the flag of Sweden

Draw the Swedish flag.

Login to save your progress and your code.

Create the flag of the USA

Draw the American flag.

Figures

Draw a house and a cube.

Login to save your progress and your code.

Create a house

Draw a house. Feel free to color it. Should there be grass and flowers in the garden?

Login to save your progress and your code.

Create a 3d cube

Draw a three-dimensional cube.

Graphs

Here you can use the coordinate system that was drawn earlier to draw mathematical functions as graphs.

Login to save your progress and your code.

Graphs

The code below draws \( f(x) = x^2 \). Modify the function f(x) and draw a graph of \(f(x) = \dfrac{x^3}{5} - 2x^2 - 5x + 25\).

Status
You have finished all tasks in this section!
🎉