【画图】Python(太极)

【画图】Python(太极),第1张

画图】Python(太极

大家都是艺术家,一起来画画吧!

Python下载地址:Python3.9.2下载-其它文档类资源-CSDN下载

#太极
import turtle as t
t.speed(1)
t.color('black')
t.begin_fill()
t.circle(100,180)
t.circle(50,180)
t.circle(-50,180)
t.end_fill()
t.circle(-100,180)
t.right(90)
t.penup()
t.forward(150)
t.pendown()
t.right(90)
t.color('black')
t.begin_fill()
t.circle(15)
t.end_fill()
t.right(90)
t.penup()
t.forward(95)
t.right(90)
t.forward(5)
t.color('white')
t.begin_fill()
t.circle(15)
t.end_fill()
t.hideturtle()

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5689288.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存