渐变的圆

 1 from turtle import*
 2 n=eval(input())
 3 a=3
 4 color("blue","yellow")
 5 begin_fill()
 6 for i in range(n-2):
 7     circle(50,steps=a)
 8     fd(50)
 9     a=a+1
10 end_fill()
11 hideturtle()

原文地址:https://www.cnblogs.com/02-12/p/12512477.html