Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- max = -sys.maxsize
- for i in range(3):
- num = int(input())
- if num > max:
- max = num
- print(max)
- Решение с max():
- a = int(input())
- b = int(input())
- c = int(input())
- print(max(a, b, c))
- Taрикатско решение:)
- print(max(int(input()), int(input()), int(input())))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement