使用python绘制奥运五环
#绘制奥运五环 import turtle#导入模块 turtle.width(10) #参数为笔粗细 turtle.color("blue")#设置颜色 turtle.circle(50)#参数是半径 turtle.penup()#起笔 turtle.goto(120,0)#坐标 turtle.pendown()#落笔 turtle.color("black") turtle.circle(50) turtle.penup() turtle.goto(240,0) turtle.pendown() turtle.color("red") turtle.circle(50) turtle.penup() turtle.goto(60,-50) turtle.pendown() turtle.color("yellow") turtle.circle(50) turtle.penup() turtle.goto(180,-50) turtle.pendown() turtle.color("green") turtle.circle(50) turtle.done()#设置程序不闪退