File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1719,7 +1719,7 @@ def xcor(self):
17191719 >>> reset()
17201720 >>> turtle.left(60)
17211721 >>> turtle.forward(100)
1722- >>> print turtle.xcor()
1722+ >>> print( turtle.xcor() )
17231723 50.0
17241724 """
17251725 return self ._position [0 ]
@@ -1733,7 +1733,7 @@ def ycor(self):
17331733 >>> reset()
17341734 >>> turtle.left(60)
17351735 >>> turtle.forward(100)
1736- >>> print turtle.ycor()
1736+ >>> print( turtle.ycor() )
17371737 86.6025403784
17381738 """
17391739 return self ._position [1 ]
@@ -2336,7 +2336,7 @@ def isvisible(self):
23362336
23372337 Example (for a Turtle instance named turtle):
23382338 >>> turtle.hideturtle()
2339- >>> print turtle.isvisible():
2339+ >>> print( turtle.isvisible())
23402340 False
23412341 """
23422342 return self ._shown
You can’t perform that action at this time.
0 commit comments