Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- b = int(input())
- c = int(input())
- d = 0
- if c != max(a, b, c) and c != min(a, b, c):
- c = c
- elif a != max(a, b, c) and a != min(a, b, c):
- a, c = c, a
- elif b != max(a, b, c) and b != min(a, b, c):
- c, b = b, c
- A = max(a, b, c )
- print(A)
- B = min(a, b, c)
- print(B)
- print(c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement