画奥运五环

import turtle as t
t.pensize(5)
coordA=(-110,0,110,-55,55)
coordB=(-25,-25,-25,-75,-75)
color=("red","blue","green","yellow","black")
for i in range(5):
t.penup()
t.goto(coordA[i],coordB[i])
t.pendown()
t.pencolor(color[i])
t.circle(45)
t.hideturtle()
t.done()

画奥运五环

 

上一篇:deepin系统下载


下一篇:Codeforces Round #743 (Div. 2)题解