How To Find Greatest Of 3 Numbers

     #FIND GREATEST OF 3 NUMBERS



print ('GREATEST OF 3 NUMBERS')
a=int(input('Enter 1st number :- '))
b=int(input('Enter 2nd number :- '))
c=int(input('Enter 3rd number :- '))
if (a>b):
    if (a>c):
        print (a,'is the biggest number.')
    else:
        print (c,'is the biggest number.')
else:
    if (b>c):
        print (b,'is the biggest number.')
    else:
        print (c,'is the biggest number.')
        

Made By :-
         Nilay Saraf

Comments

  1. https://www.programiz.com/python-programming/keyword-list#except_raise_try

    ReplyDelete

Post a Comment

Popular Posts