import turtle as a m = eval(input())#圆的半径 n = eval(input())#圆的个数 c = input()#画笔的颜色 a.pencolor("{}".format(c)) for i in range(n): a.penup() a.goto(0, -20 * i) a.pendown() a.circle(m) m+=20 a.hideturtle() a.done()
2024-04-02 08:11:28
import turtle as a m = eval(input())#圆的半径 n = eval(input())#圆的个数 c = input()#画笔的颜色 a.pencolor("{}".format(c)) for i in range(n): a.penup() a.goto(0, -20 * i) a.pendown() a.circle(m) m+=20 a.hideturtle() a.done()