Python Program to Input 3 variable's value and print the biggest variable
x =int( input ( 'Enter x' ))
y =int( input ( 'Enter y' ))
z =int( input ( 'Enter z' ))
if (x>=y and x>=z):
print (x, ' is greatest' )
elif (y>=z and y>=z):
print (y, ' is greatest' )
else :
print (z, ' is greatest' )
Comments
Post a Comment