• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Hayhong123

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2020年3月15日

六角形绘制
摘要: import turtle turtle.setup(700,700,100,50) #设置画布 turtle.penup() #调整下笔位置turtle.seth(90) turtle.fd(200)turtle.seth(180)turtle.fd(100)turtle.pendown()tur 阅读全文
posted @ 2020-03-15 17:58 Hayhong123 阅读(185) 评论(0) 推荐(0)
 
五角星绘制
摘要: import turtle turtle.setup(700,700,100,50) #设置画布 turtle.seth(90) #调整下笔位置turtle.penup()turtle.fd(200)turtle.pendown()turtle.pensize(10) #设置画笔大小turtle.f 阅读全文
posted @ 2020-03-15 17:37 Hayhong123 阅读(216) 评论(0) 推荐(0)
 
叠加等边三角形绘制
摘要: import turtleturtle.setup(700,700,100,50) #设置画布 turtle.seth(90) #调整下笔位置turtle.penup()turtle.fd(200)turtle.pendown()turtle.pensize(10) #设置画笔大小 #大三角turt 阅读全文
posted @ 2020-03-15 17:14 Hayhong123 阅读(784) 评论(0) 推荐(0)