会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuchun玲
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
2020年3月20日
天天向上力量B
摘要: N=eval(input()) up=pow(1+0.001*N,365) down=pow(1-0.001*N,365) print("{:.2f}, {:.2f}, {:.0f}".format(up,down,up/down))
阅读全文
posted @ 2020-03-20 09:43 liuchun玲
阅读(158)
评论(0)
推荐(0)
2020年3月14日
turtle库的学习笔记
摘要:
阅读全文
posted @ 2020-03-14 23:28 liuchun玲
阅读(147)
评论(0)
推荐(0)
8Hello world
摘要: Name=input("请输入你的名字:") print('欢迎你',Name)
阅读全文
posted @ 2020-03-14 23:13 liuchun玲
阅读(92)
评论(0)
推荐(0)
7M与N的数学运算
摘要: m=eval(input()) n=eval(input()) a=m+n b=m*n c=m**n d=m%n e=max(m,n) print(a,b,c,d,e)
阅读全文
posted @ 2020-03-14 23:11 liuchun玲
阅读(299)
评论(0)
推荐(0)
6世界,你好!
摘要: print("世界,你好!")
阅读全文
posted @ 2020-03-14 22:43 liuchun玲
阅读(71)
评论(0)
推荐(0)
5N的多次方
摘要: N=eval(input(" 请输入一个数:")) for i in range (5): print(pow(N,i))
阅读全文
posted @ 2020-03-14 22:40 liuchun玲
阅读(131)
评论(0)
推荐(0)
4说句心里话
摘要: name=input("请输入名字:") print(name,'我想对你说,我爱你')
阅读全文
posted @ 2020-03-14 22:22 liuchun玲
阅读(81)
评论(0)
推荐(0)
3叠加等边三角形绘制
摘要: import turtle as T T.setup(600, 600, 200,200) T.pu() T.fd(-120) T.pensize(5) T.width(5) T.pencolor("pink") T.pd() T.fd(250) T.seth(120) T.fd(250) T.se
阅读全文
posted @ 2020-03-14 22:08 liuchun玲
阅读(297)
评论(0)
推荐(0)
2六角形绘制
摘要: import turtle turtle.setup(650,350,200,200) turtle.penup() turtle.pensize(1) turtle.pencolor("black") turtle.fd(100) turtle.seth(30) turtle.pendown()
阅读全文
posted @ 2020-03-14 21:54 liuchun玲
阅读(123)
评论(0)
推荐(0)
1绘制五角星
摘要: import turtle turtle.fillcolor("red") turtle.begin_fill() turtle.penup() turtle.goto(-60,0) turtle.pendown() for i in range(5): turtle.forward(200) tu
阅读全文
posted @ 2020-03-14 21:37 liuchun玲
阅读(119)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
公告