Magical GCD The Magical GCD of a nonempty sequence of positive integers is defined as the product of its lengthand the greatest common divisor of all its elements.Given a sequence (a1, . . . , an), find the largest possibl…
""" 输入三个数,输出其最大值 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>my_max and c or my_max print(my_max) 结果: a=5 b=1 c=78 78…