会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
锂加熔融的锌盐
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2020年10月6日
同心圆
摘要: import turtle r=eval(input("半径:")) x=eval(input("个数:")) c=input("颜色:") turtle.pencolor(c) turtle.pensize(3) for i in range(x): turtle.circle(r) turtle
阅读全文
posted @ 2020-10-06 16:09 锂加熔融的锌盐
阅读(136)
评论(0)
推荐(0)
2020年9月22日
分形树
摘要: import turtle x = 10 def draw_tree(y): if y > x: turtle.forward(y) turtle.right(20) draw_tree(y / 1.5) turtle.left(40) draw_tree(y / 1.5) turtle.right
阅读全文
posted @ 2020-09-22 10:44 锂加熔融的锌盐
阅读(136)
评论(0)
推荐(0)
2020年9月15日
叠加等边三角形
摘要: import turtle count = 1 while count <= 3: turtle.forward(100) turtle.right(120) count +=1 turtle.left(60) turtle.forward(100) count = 1 while count <=
阅读全文
posted @ 2020-09-15 20:00 锂加熔融的锌盐
阅读(95)
评论(0)
推荐(0)
六角星
摘要: import turtle turtle.left(90) count = 1 while count <= 3: turtle.forward(300) turtle.left(120) count += 1 turtle.penup() turtle.forward(100) turtle.pe
阅读全文
posted @ 2020-09-15 19:54 锂加熔融的锌盐
阅读(78)
评论(0)
推荐(0)
五角星
摘要: import turtle turtle.fillcolor("red") turtle.begin_fill() count = 1 while count <= 5: turtle.forward(100) turtle.right(144) count +=1 turtle.end_fill(
阅读全文
posted @ 2020-09-15 18:57 锂加熔融的锌盐
阅读(115)
评论(0)
推荐(0)
上一页
1
2
公告