Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=int(input("enter the value of a"))
- y=int(input("enter the value of b"))
- z=int(input("enter the value of c"))
- if x>y:
- if x>z:
- print x,"is the greatest value"
- else:
- print z,"is the greatest value"
- elif y>z:
- print y,"is the gretest value"
- else:
- print z,"is the greatesr value"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement