import turtle, math def square(t,s): for i in range(4): t.forward(s) t.left(90) return() alice = turtle.Turtle() ##for i in range(1,11): ## square(alice,20*i) ## alice.left(20) alice.color('red', 'yellow') alice.begin_fill() while True: alice.forward(200) alice.left(170) if abs(alice.pos()) < 1: break alice.end_fill() done()