from turtle import * color('red', 'yellow') var = 100  begin_fill() while True:     forward(var)     left(170)     if abs(pos()) < 1:         break end_fill()  done() 

Read more of this post