Why it displays attribute error for Turtle() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why it displays attribute error for Turtle()

import turtle my_turtle = turtle.Turtle() def square(length, angle): my_turtle.forward(length) my_turtle.right(angle) my_turtle.forward(length) my_turtle.right(angle) my_turtle.forward(length) my_turtle.right(angle) my_turtle.forward(length) for i in range(1000000): square(10, 90)

30th Apr 2018, 2:18 AM
ALBERT SAURAV
ALBERT SAURAV - avatar
2 Answers
+ 1
Just for the record, it is tkinter and not thinker. Which, you don't need to install if you're using turtle anyway
20th Aug 2018, 3:53 PM
Just A Rather Ridiculously Long Username
0
I had the same problem. I was told that SoloLearn can not support graphics. If you want to use turtle though, you can download python on your laptop and download thinker .
2nd Jun 2018, 8:39 PM
Emma
Emma - avatar