In my installation of Python 3.14, turtle.Turtle() does take the shape keyword argument. But from the comments on this question, it seems that some versions of the class do not, so I suppose yours does, and the version on tinker.io does not take the argument. You'll have to use the shape() method for better portability, I suppose.