Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numbers = list(map(int, input().split(' ')))
- def sort_num():
- return sorted(numbers)
- print(sort_num())
- Или:
- def sort_num():
- return sorted(list(map(int, input().split(' '))))
- print(sort_num())
- Или:)
- print(sorted([int(i) for i in input().split()]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement