import turtle

turtle.setup(600,400,0,0)
turtle.bgcolor('red')
turtle.color('yellow')
turtle.fillcolor('yellow') def mygoto(x,y):
turtle.up()
turtle.goto(x,y)
turtle.down() def draw(l):
turtle.begin_fill()
for i in range(5):
turtle.forward(l)
turtle.right(144)
turtle.end_fill() mygoto(-250,100)
draw(100) for i in range(4):
x=1
if i in [0,3]:
x=0
mygoto(-100+x*50,150-i*47)
turtle.left(15-i*15)
draw(30) mygoto(0,0)
turtle.hideturtle()
# print(time.clock()) turtle.done()

  

最新文章

  1. windows环境下搭建vue+webpack的开发环境
  2. Xcode 改时间问题 lua代码没反应问题
  3. silverlight MouseLeftButtonDown事件总是无法触发
  4. Open Live Writer的配置
  5. 解决真机调试时Eclipse DDMS上打不开/data目录的问题
  6. 【Android车载系统 News | Tech 4】知乎--车载话题链接
  7. HTTPS的工作原理
  8. Solr中Schema.xml中文版
  9. (转)c指针
  10. Javascript: 截取字符串多出来并用省略号[...]显示
  11. 追踪神秘的成都Uber:月入2万元是现实还是传说
  12. 在Qt中如何使用QtDesigner创建的UI文件
  13. HDU 4283 You are the one(间隔DP)
  14. Java 容器一些知识
  15. 美团,点评,澎湃等APP的启示
  16. ecos的app生命周期
  17. iOS程序生命周期 AppDelegate
  18. Mac入门推荐(写给Mac小白)
  19. php框架之我见:php开发到底需不要用框架?
  20. Spring+SpringMVC+MyBatis+easyUI整合

热门文章

  1. C++入门篇十一
  2. Razor Page 文件
  3. 小程序:动态监测input和取值
  4. PDF中的空白页面怎么删除,PDF页面删除技巧
  5. spring-data-jpa 二、多对一结构、Repository
  6. mysql_config not found和error: command 'gcc' failed with exit status 1
  7. XMLHttpRequest中常用的方法
  8. Oracle体系结构之内存结构(3)
  9. jquery插件之一些小链接
  10. UOJ#73. 【WC2015】未来程序 提交答案题