python利用turtle绘制圆

绘制圆

程序如下

import turtle as t
t.setup(650,650)
t.pencolor("green")
t.pensize(2.5)
t.penup()
t.fd(300)
t.pendown()
t.seth(90)
t.circle(300,360)
t.done()

运行结果

发布了42 篇原创文章 · 获赞 1 · 访问量 2707

猜你喜欢

转载自blog.csdn.net/qq_40253803/article/details/104748989
今日推荐