Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=26
- y=13
- z=7
- if x%2 == 0:
- if y%2 == 0:
- if z%2 == 0:
- print "None of them are odd"
- else:
- print z
- elif y > z or z%2 == 0:
- print y
- else:
- print z
- elif y%2 == 0:
- if z%2 == 0 or x > z:
- print x
- else:
- print z
- elif z%2 == 0:
- if x > y:
- print x
- else:
- print y
- else:
- if x > y and x > z:
- print x
- elif y > z:
- print y
- else:
- print z
Add Comment
Please, Sign In to add comment