首页 > 其他 > 详细

玫瑰花

时间:2017-10-28 23:46:30      阅读:446      评论:0      收藏:0      [点我收藏+]
import turtle
turtle.setup(650,800,100,100)
turtle.pu()
turtle.seth(90)
turtle.fd(300)
turtle.seth(0)
turtle.pd()
turtle.circle(24,60)
turtle.circle(2,90)
turtle.circle(28,60)
turtle.circle(34,45)
turtle.circle(2,90)
turtle.circle(65,65)
turtle.circle(2,60)
turtle.right(180)
turtle.fd(80)
turtle.left(180)
turtle.fd(80)
turtle.circle(40,30)
turtle.circle(10,45)
turtle.circle(110,50)
turtle.seth(-90)
turtle.circle(-500,10)
turtle.seth(110)
turtle.circle(200,10)
turtle.seth(-110)
turtle.circle(100,120)
turtle.seth(15)
turtle.circle(120,120)
turtle.seth(-90)
turtle.circle(-120,40)
turtle.circle(130,58)
turtle.seth(60)
turtle.circle(60,120)
turtle.circle(-90,33)
turtle.up()
turtle.seth(0)
turtle.fd(130)
turtle.circle(40,150)
turtle.pd()
turtle.circle(40,40)
turtle.pu()
turtle.fd(20)
turtle.seth(-90)
turtle.fd(180)
turtle.pd()
turtle.fd(100)
turtle.seth(120)
turtle.circle(100,110)
turtle.left(70)
turtle.circle(100,80)
turtle.circle(100,30)
turtle.seth(-90)
turtle.fd(50)
turtle.seth(0)
turtle.circle(100,20)
turtle.circle(-100,80)
turtle.right(80)
turtle.circle(-100,107)
turtle.seth(-90)
turtle.fd(300)
turtle.exitonclick()

 

玫瑰花

原文:http://www.cnblogs.com/mingyuan302/p/7747408.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!