turtle.clearstamps()

turtle.clearstamps(n=None)

Delete all or first/last n of turtle’s stamps.

Optional argument: n – an integer

If n is None, delete all of pen’s stamps, else if n > 0 delete first n stamps else if n < 0 delete last n stamps.

Example: >>> for i in range(8): ... stamp(); fd(30) ... >>> clearstamps(2) >>> clearstamps(-2) >>> clearstamps()