input 5 numbers and find the min?
I want very simple code
print("Input five numbers into separate lines:")
min_numb = int(input())
for i in range(4):
numb =int(input())
if numb < min_numb:
min_numb = numb
print("The minimal value between inputted numbers is", min_numb)
Comments
Leave a comment