Python
- 138 ответов
- 0 вопросов
91
Вклад в тег
h1 = int(input())
h2 = int(input())
h3 = int(input())
result = ['Не по росту!', 'По росту!']
compare = h1 <= h2 <= h3
result[compare]
n = 19
numbers_as_string = '16 11 5 7 15 18 6 13 9 10 14 12 2 19 4 17 3'
numbers = [int(i) for i in numbers_as_string.split(' ')]
all_numbers = set(range(1, n + 1))
numbers = set(numbers)
sorted_diff = [str(i) for i in sorted(all_numbers.difference(numbers))]
print(' '.join(sorted_diff))