Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- b = int(input())
- c = int(input())
- if a < b and a < c:
- a1 = a
- elif b < a and b < c:
- a1 = b
- else:
- a1 = c
- if b > a and b < c:
- b1 = b
- elif c > a and c > b:
- b1= c
- else:
- b1 = a
- if c > a and c > b:
- c1 = c
- elif b > c and b > a:
- c1 = b
- else:
- c1 = a
- print(a1, b1, c1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement