![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据与计算代码
blackieliu
这个作者很懒,什么都没留下…
展开
-
3.2思考与练习-三数最大值
a,b,c=map(int,input("请输入三个数字:").split(","))if a>b and a>c : print(a)elif b>a and b>c: print(b)else: print(c)原创 2021-06-25 11:09:33 · 52 阅读 · 0 评论 -
3.2猜数游戏2 浙教版高中信息技术 数据与计算
number=23guess=int(input(" 请输入猜测的数:"))while guess != number: if guess==number: break elif guess<number: print(" 偏小") else: print(" 偏大") guess=int(input(" 请输入猜测的数:"))print(" 正确")...原创 2021-06-25 10:32:32 · 240 阅读 · 0 评论 -
3.2猜数游戏 浙教版信息技术必修1 数据与计算
number=23running= Falsewhile not running: guess=int(input(" 请输入猜测的数:")) if guess==number: print(" 正确") running=True elif guess<number: print(" 偏小") else: print(" 偏大")原创 2021-06-25 10:21:54 · 384 阅读 · 0 评论