import turtle as t
class Figure:
color='red'
def wuhuan(self):
self.pensize=eval(input('请输入环的宽度:'))
self.circle=eval(input('请输入环的半径:'))
screen=t.Screen()
screen.bgcolor('white')
t.pensize(self.pensize)
t.penup()
t.goto(-4*self.circle,0)
t.pencolor('blue')
t.pendown()
t.circle(self.circle)
t.penup()
t.pencolor('black')
t.goto(-1.8*self.circle,0)
t.pendown()
t.circle(self.circle)
t.penup()
t.pencolor('red')
t.goto(0.4*self.circle,0)
t.pendown()
t.circle(self.circle)
t.penup()
t.pencolor('yellow')
t.goto(-2.9*self.circle,-self.circle)
t.pendown()
t.circle(self.circle)
t.penup()
t.pencolor('green')
t.goto(-0.7*self.circle,-self.circle)
t.pendown()
t.circle(self.circle)
t.hideturtle()
t.done()
f1=Figure()
f1.wuhuan()