Advertisement
Guest User

new

a guest
Mar 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. x=int(input("enter the value of a"))
  2. y=int(input("enter the value of b"))
  3. z=int(input("enter the value of c"))
  4.  
  5. if x>y:
  6.     if x>z:
  7.         print x,"is the greatest value"
  8.     else:
  9.         print z,"is the greatest value"
  10. elif y>z:
  11.         print y,"is the gretest value"
  12.    else:
  13.     print z,"is the greatesr value"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement