猫史档案馆


【Python作品分享】七个人类灵魂【作品秀】

用户:Y_Chara_DreamerY_Chara_Dreamer查看:1 回复:2 评论:1 创建时间:2020-07-05T11:35:23


【作品展示】

center_image

 

【作品介绍】

自己看

 

【作品源代码】

import turtle as t
t.penup()
t.goto(-300,0)
t.pendown()
t.pencolor('red')
t.fillcolor('red')
t.begin_fill()
t.setheading(45)
t.forward(50)
t.circle(25, 180)
t.setheading(135)
t.circle(25, 180)
t.forward(50)
t.end_fill()
t.penup()
t.setheading(-90)
t.forward(60)
t.write('决心', font=('Arial', 25, 'bold'))
t.forward(-60)
t.setheading(0)
t.forward(100)
t.pendown()
t.pencolor('orange')
t.fillcolor('orange')
t.begin_fill()
t.setheading(45)
t.forward(50)
t.circle(25, 180)
t.setheading(135)
t.circle(25, 180)
t.forward(50)
t.end_fill()
t.penup()
t.setheading(-90)
t.forward(60)
t.write('勇气', font=('Arial', 25, 'bold'))
t.forward(-60)
t.setheading(0)
t.forward(100)
t.pendown()
t.pencolor('yellow')
t.fillcolor('yellow')
t.begin_fill()
t.setheading(45)
t.forward(50)
t.circle(25, 180)
t.setheading(135)
t.circle(25, 180)
t.forward(50)
t.end_fill()
t.penup()
t.setheading(-90)
t.forward(60)
t.write('正义', font=('Arial', 25, 'bold'))
t.forward(-60)
t.setheading(0)
t.forward(100)
t.pendown()
t.pencolor('green')
t.fillcolor('green')
t.begin_fill()
t.setheading(45)
t.forward(50)
t.circle(25, 180)
t.setheading(135)
t.circle(25, 180)
t.forward(50)
t.end_fill()
t.penup()
t.setheading(-90)
t.forward(60)
t.write('仁慈', font=('Arial', 25, 'bold'))
t.forward(-60)
t.setheading(0)
t.forward(100)
t.pendown()
t.pencolor('cyan')
t.fillcolor('cyan')
t.begin_fill()
t.setheading(45)
t.forward(50)
t.circle(25, 180)
t.setheading(135)
t.circle(25, 180)
t.forward(50)
t.end_fill()
t.penup()
t.setheading(-90)
t.forward(60)
t.write('耐心', font=('Arial', 25, 'bold'))
t.forward(-60)
t.setheading(0)
t.forward(100)
t.pendown()
t.pencolor('blue')
t.fillcolor('blue')
t.begin_fill()
t.setheading(45)
t.forward(50)
t.circle(25, 180)
t.setheading(135)
t.circle(25, 180)
t.forward(50)
t.end_fill()
t.penup()
t.setheading(-90)
t.forward(60)
t.write('诚实', font=('Arial', 25, 'bold'))
t.forward(-60)
t.setheading(0)
t.forward(100)
t.pendown()
t.pencolor('purple')
t.fillcolor('purple')
t.begin_fill()
t.setheading(45)
t.forward(50)
t.circle(25, 180)
t.setheading(135)
t.circle(25, 180)
t.forward(50)
t.end_fill()
t.penup()
t.setheading(-90)
t.forward(60)
t.write('毅力', font=('Arial', 25, 'bold'))
t.hideturtle()
t.done()

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
NOTCH___NOTCH___

center_image

center_image

 

点赞0


评论


面具狐狸云绾兮面具狐狸云绾兮

沙发

点赞0


评论