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

Function switchpen

Python/Turtle.py:3878–3882  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3876
3877if __name__ == "__main__":
3878 def switchpen():
3879 if isdown():
3880 pu()
3881 else:
3882 pd()
3883
3884 def demo1():
3885 """Demo of old turtle.py - module"""

Callers 1

demo2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected