numbers = []for i in range(5):number = int(input("Введите число: "))numbers.append(number)
max_number = numbers[0]min_number = numbers[0]
for number in numbers:if number > max_number:max_number = numberif number < min_number:min_number = number
print("Максимальное число:", max_number)print("Минимальное число:", min_number)
numbers = []
for i in range(5):
number = int(input("Введите число: "))
numbers.append(number)
max_number = numbers[0]
min_number = numbers[0]
for number in numbers:
if number > max_number:
max_number = number
if number < min_number:
min_number = number
print("Максимальное число:", max_number)
print("Минимальное число:", min_number)