在python使用circle函数画圆,具体方法如下:
import turtle #导入turtle模块turtle.pensize(2)turtle.circle(10)turtle.circle(40)turtle.circle(80)turtle.circle(120)
import turtle #导入turtle模块
turtle.pensize(2)
turtle.circle(10)
turtle.circle(40)
turtle.circle(80)
turtle.circle(120)
效果图: