turtle.showturtle() method make the turtle visible on the canvas. It does not require any arguments. This method is useful when you have previously hidden the turtle using turtle.hideturtle().
Syntax
turtle.showturtle()
# or
turtle.st()
- Parameters : None
- Returns : Nothing
Example:
import turtle
# set speed to slowest for better visualization
turtle.speed(1)
# initial motion
turtle.forward(100)
turtle.right(90)
# hide the turtle
turtle.hideturtle()
# motion while turtle is hidden
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
# show the turtle again
turtle.showturtle()
# motion after showing turtle
turtle.forward(100)
turtle.right(90)
turtle.done()
Output :

Explanation:
- The turtle moves forward 100 units and turns right 90° initially.
- turtle.hideturtle() hides the turtle, so subsequent movements are invisible.
- After moving while hidden, turtle.showturtle() makes the turtle visible again.
- Any further movements are displayed with the turtle cursor on the screen.
Related Articles: