Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input('\nEnter an Odd number only for X: '))
- y = int(input('\nEnter an Odd number only for Y: '))
- z = int(input('\nEnter an Odd number only for Z: '))
- if x % 3 == 0:
- print ('\nOdd: X =', x)
- elif y % 3 == 0:
- print ('\nOdd: Y =', y)
- elif z % 3 == 0:
- print ('\nOdd: Z =', z)
- else:
- print ('\nThere are No Odd numbers, Just Even')
- if x > y or x > z:
- print ('\nX =', x,'is the greater than Y =', y, 'and Z =', z)
- elif y > x or y > z:
- print ('\nY =', y,'is greater than X =', x, 'and Z =', z)
- elif z > x or z > y:
- print ('\nZ =', z, 'is greater than X =', x, 'and Y =', y)
- else:
- print ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement