1
a, b = int(input('a = ')), int(input('b = '))
print(f'max = {max(a, b)}\nmin = {min(a, b)}')
2
lst = [int(input('Введите число: ')) for i in range(5)]
print(max(lst))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
1
a, b = int(input('a = ')), int(input('b = '))
print(f'max = {max(a, b)}\nmin = {min(a, b)}')
2
lst = [int(input('Введите число: ')) for i in range(5)]
print(max(lst))