a=int(input("输入第一个数:"))
b=int(input("输入第二个数:"))
c=int(input("输入第三个数:"))
if a>b:
m=a
else:
m=b
if m>c:
print("最大数是:",m)
else:
print("最大数是:",c)
cto_dqb ©著作权
文章标签 HH 文章分类 JavaScript 前端开发
a=int(input("输入第一个数:"))
b=int(input("输入第二个数:"))
c=int(input("输入第三个数:"))
if a>b:
m=a
else:
m=b
if m>c:
print("最大数是:",m)
else:
print("最大数是:",c)
上一篇:MySQL存储过程和存储函数
【HarmonyOS】 鸿蒙开发 (比较两个值大小,输出较大值)在DevEco Studio中开发,用户界面输入两个值,比较两个值大小并输出较大值。主要是练习了对TextInput属性的应用。
本节的内容: 一、汇总分析(1)常用的函数有:count函数:求某列的行数。Sum函数:对某列数据求和,但只对数据类型的列计算。avg函数:求某列的平均值,但只对数据类型的列计算。Max函数:求某列数据的最大值min函数:求某列数据的最小值(2)常用函数的实际运用: a.查询学生表中学生的总人数,则可用count函数求出。 用count函数后: 注
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M