# Python for Beginners Immersion Course
# Exercise 8.6
# Albert Molina
# 08-May-2018
# Description : max and min



NumList = list()

while True :
	NumInp = input('Enter a number: ')
	if NumInp.upper() == 'DONE' : break
	try :
		NumList.append(float(NumInp))
	except :
		print('   ' + NumInp + ' is not a number')

print('Maximum: ' + str(max(NumList)))
print('Minimum: ' + str(min(NumList)))

ebd303d9ada453cb2b2e3fab15e64c012021e205
<mask token>

<mask token>
while True:
    NumInp = input('Enter a number: ')
    if NumInp.upper() == 'DONE':
        break
    try:
        NumList.append(float(NumInp))
    except:
        print('   ' + NumInp + ' is not a number')
print('Maximum: ' + str(max(NumList)))
print('Minimum: ' + str(min(NumList)))

NumList = list()
while True:
    NumInp = input('Enter a number: ')
    if NumInp.upper() == 'DONE':
        break
    try:
        NumList.append(float(NumInp))
    except:
        print('   ' + NumInp + ' is not a number')
print('Maximum: ' + str(max(NumList)))
print('Minimum: ' + str(min(NumList)))

# Python for Beginners Immersion Course
# Exercise 8.6
# Albert Molina
# 08-May-2018
# Description : max and min



NumList = list()

while True :
	NumInp = input('Enter a number: ')
	if NumInp.upper() == 'DONE' : break
	try :
		NumList.append(float(NumInp))
	except :
		print('   ' + NumInp + ' is not a number')

print('Maximum: ' + str(max(NumList)))
print('Minimum: ' + str(min(NumList)))
