import math
from TurtleWorld import *
world = TurtleWorld()
t = Turtle()
t.delay = 0.01
def polygon(t, n):
length = 10
degree = 360 / n;
pd(t)
for i in range(int(n)):
fd(t, length)
lt(t, degree)
def circle(t, r):
circumference = r * 2 * math.pi
n = circumference / 10
polygon(t, n)
aW1wb3J0IG1hdGgKZnJvbSBUdXJ0bGVXb3JsZCBpbXBvcnQgKgp3b3JsZCA9IFR1cnRsZVdvcmxkKCkKdCA9IFR1cnRsZSgpCnQuZGVsYXkgPSAwLjAxCgpkZWYgcG9seWdvbih0LCBuKToKICAgIGxlbmd0aCA9IDEwCiAgICBkZWdyZWUgPSAzNjAgLyBuOwogICAgcGQodCkKICAgIGZvciBpIGluIHJhbmdlKGludChuKSk6CiAgICAgICAgZmQodCwgbGVuZ3RoKQogICAgICAgIGx0KHQsIGRlZ3JlZSkKCmRlZiBjaXJjbGUodCwgcik6CiAgICBjaXJjdW1mZXJlbmNlID0gciAqIDIgKiBtYXRoLnBpCiAgICBuID0gY2lyY3VtZmVyZW5jZSAvIDEwCiAgICBwb2x5Z29uKHQsIG4p