MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / penup

Method penup

Python/Turtle.py:1994–2006  ·  view source on GitHub ↗

Pull the pen up -- no drawing when moving. Aliases: penup | pu | up No argument Example (for a Turtle instance named turtle): >>> turtle.penup()

(self)

Source from the content-addressed store, hash-verified

1992
1993
1994 def penup(self):
1995 """Pull the pen up -- no drawing when moving.
1996
1997 Aliases: penup | pu | up
1998
1999 No argument
2000
2001 Example (for a Turtle instance named turtle):
2002 >>> turtle.penup()
2003 """
2004 if not self._drawing:
2005 return
2006 self.pen(pendown=False)
2007
2008 def pendown(self):
2009 """Pull the pen down -- drawing when moving.

Callers 1

pong.pyFile · 0.80

Calls 1

penMethod · 0.95

Tested by

no test coverage detected