Ask coding questions

← Back to all posts
1
Circle problems
BernadetaKuksai (0)

Hey, im a pupil and i have a question witch no one seems to know the answer to in my class ( we are usings python with turtle). Many of my classmates are having the same problem. When the want to make a circle with the "for i in range" code it doesin't work. The turtle starts spinning around or goes forward none stop :/

Commentshotnewtop
1
JustARatherRidi (185)

If you have to use a for loop to draw the circle, try this

for i in range(360):
    berny.fd(1)
    berny.right(1)