I am trying to get the sum of the output_values, and it is giving me a traceback error
output_values = []
while True:
user_input = input('Please type in your test grades, and follow your input by typing in "done"')
if user_input == 'done':
print('All done, here is your average')
break
### here you will insert in the traceback error to prevent your code from crashing due to invalid input
try:
val_input = float(user_input)
if val_input:
output_values.append(user_input)
except ValueError:
print('You have typed in an invalid input, please type in your grade as a numerical digit')
continue
print(output_values)
summation = sum(output_values)