原文:python——判断三个数字中的最大值

...

2018-02-01 16:40 0 10799 推荐指数:

查看详情

python应用-输入三个数,输出其最大值

""" 输入三个数,输出其最大值 Author:罗万财 Date:2017-7-6 """ a=int(input('a=')) b=int(input('b=')) c=int(input('c=')) my_max=a>b and a or b my_max=c> ...

Mon Mar 12 06:23:00 CST 2018 0 5640
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM