✍️
Write your name
Have the turtle write your name in big bold letters.
Sprout· ages 8–1010 minturtle.writevariablesturtle.setpos
my_name.py
520×520
First load pulls ~10 MB of Python. Only happens once — the browser caches it after.
What should the output look like?
Your name should appear in big letters on the canvas.
📖
How this works
turtle.write draws text at wherever the turtle is standing. Before writing, we move to a good position (left of center) with setpos, and lift the pen with penup so we don't leave a trail behind us.
Your turn — try these
- 1Change the color to `"crimson"` or `"navy"`. Try any color name.
- 2Add a second line below with your favorite food or hobby.
- 3Wrap the name in stars — write `f"★ {name} ★"` instead.