[issue40283] Documentation of turtle.circle()

Cajetan Rodrigues report at bugs.python.org
Wed May 6 14:58:42 EDT 2020


Cajetan Rodrigues <caje731 at gmail.com> added the comment:

When I checked, I found the following:

turtle.circle(50, 50)   # counter-clockwise
turtle.circle(-50, -50) # counter-clockwise
turtle.circle(-50, 50)  # clockwise
turtle.circle(50, -50)  # clockwise

So it seems both radius and extent need to be of the same signage to effect a counter-clockwise draw. However, for the 2 cases where extent is negative, the draw happens through the turtle's tail rather than the head. Looks weird.

----------
nosy: +cajetan.rodrigues

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40283>
_______________________________________


More information about the Python-bugs-list mailing list