This commit is contained in:
ton
2024-10-07 10:13:40 +07:00
parent aa1631742f
commit 3a7d696db6
9729 changed files with 1832837 additions and 161742 deletions

View File

@@ -1719,7 +1719,7 @@ class TNavigator(object):
>>> reset()
>>> turtle.left(60)
>>> turtle.forward(100)
>>> print turtle.xcor()
>>> print(turtle.xcor())
50.0
"""
return self._position[0]
@@ -1733,7 +1733,7 @@ class TNavigator(object):
>>> reset()
>>> turtle.left(60)
>>> turtle.forward(100)
>>> print turtle.ycor()
>>> print(turtle.ycor())
86.6025403784
"""
return self._position[1]
@@ -2336,7 +2336,7 @@ class TPen(object):
Example (for a Turtle instance named turtle):
>>> turtle.hideturtle()
>>> print turtle.isvisible():
>>> print(turtle.isvisible())
False
"""
return self._shown