import turtle wn = turtle.Screen() alex = turtle.Turtle() alex.forward(150) alex.left(90) alex.forward(75) turtle.done() that is my code. And the error I keep getting is File "C:/Users/stevewestmoreland/Documents\turtle.py", line 2, in wn = turtle.Screen() AttributeError: partially initialized module 'turtle' has no attribute 'Screen' (most likely due to a circular import)
https://stackoverflow.com/questions/66148626/why-do-i-keep-getting-attribute-error-in-python-3-9 February 11, 2021 at 12:07PM
没有评论:
发表评论