pip install PythonTurtle
$ pip install turtle
$ pip install PythonTurtle
"""
TURTLE COMMANDS
command shortcut makes the turtle """
goto(x, y) setpos(x, y) # go to x, y coordinates
forward(d) fd(d) # go forward d units
back(d) bk(d) # go backward d units
left(a) lt(a) # rotate left a degrees
right(a) rt(a) # rotate right a degrees
setheading(h) seth(h) # set heading to h degrees
write(text) # write text in the screen
Ubuntu Linux:
$ sudo apt-get install -y python3-wxgtk4.0
Fedora (I tried the command below on my Ubuntu linux and it worked):
$ python3 -m pip install wxpython
On any GNU/Linux distribution: (after installing prerequisites from above)
$ python3 -m pip install --user PythonTurtle
$ PythonTurtle