PyDocs

Nav

Graphical user interfaces with Tk

clearstamps

turtle

function
  • clearstamps(n=None)
Delete all or first/last n of turtle’s stamps. If n is None, delete all stamps, if n > 0 delete first n stamps, else if n < 0 delete last n stamps.
1 Example
>>> for i in range(8):
...     unused_stamp_id = turtle.stamp()
...     turtle.fd(30)
>>> turtle.clearstamps(2)
>>> turtle.clearstamps(-2)
>>> turtle.clearstamps()
from the Python docs
See Also
No see-alsos for turtle/clearstamps
0 Notes
No notes for clearstamps