minNumber = 9**99
while True:
a = int(input())
if a == 0:
break
elif a < minNumber:
if a <= 0:
print("не натуральное")
else:
minNumber = a
print(f"Минимальное число {minNumber}")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
minNumber = 9**99
while True:
a = int(input())
if a == 0:
break
elif a < minNumber:
if a <= 0:
print("не натуральное")
else:
minNumber = a
print(f"Минимальное число {minNumber}")