• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
汤圆喵喵
博客园    首页    新随笔    联系   管理    订阅  订阅
2020年9月15日
叠加的等边三角形
摘要: import turtle turtle.screensize(800,800,"red") turtle.setup(800,500,100) turtle.penup() turtle.fd(-100) turtle.pendown() turtle.pensize(7) turtle.penc 阅读全文
posted @ 2020-09-15 19:23 汤圆喵喵 阅读(147) 评论(0) 推荐(0)
六边形
摘要: from turtle import * color("black","red") begin_fill() pu() fd(-200) pd() seth(30) fd(300) seth(-90) fd(300) seth(150) fd(300) end_fill() pu() seth(90 阅读全文
posted @ 2020-09-15 19:16 汤圆喵喵 阅读(507) 评论(0) 推荐(0)
五角星
摘要: import turtle import time turtle.pensize(4) turtle.pencolor("yellow") #画笔黄色 turtle.fillcolor("red") #内部填充红色 #绘制五角星# turtle.begin_fill() for _ in range 阅读全文
posted @ 2020-09-15 18:57 汤圆喵喵 阅读(106) 评论(0) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3