Maximum number out of given 3 numbers

#max of 3 nums in python
a=94
b=93
c=84

if(a>b):
    max=a
else:
    max=b
if(max>c):
    print ('the largest number',max)
else:
    print ('the largest number',c)

No comments:

Post a Comment