Guest User

Untitled

a guest
Mar 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. x=26
  2. y=13
  3. z=7
  4. if x%2 == 0:
  5. if y%2 == 0:
  6. if z%2 == 0:
  7. print "None of them are odd"
  8. else:
  9. print z
  10. elif y > z or z%2 == 0:
  11. print y
  12. else:
  13. print z
  14. elif y%2 == 0:
  15. if z%2 == 0 or x > z:
  16. print x
  17. else:
  18. print z
  19. elif z%2 == 0:
  20. if x > y:
  21. print x
  22. else:
  23. print y
  24. else:
  25. if x > y and x > z:
  26. print x
  27. elif y > z:
  28. print y
  29. else:
  30. print z
Add Comment
Please, Sign In to add comment