my question here:Hi all. I should be very glad if you help me using error handling
# file2.py size = 40 print("here is the addition of many numbers (even with a .) Maximum of numbers=", size) print("Once you have finished your list of numbers, just press $ to indicate the end\n") total = 0.0 value = 0.0 count = 1 while (count != 0): value = float(input("enter the value: ")) if value == '$': average = total / count print("average value= ", average) exit() else: print(value) print(total) total = value + total print(total) count = count + 1
User has been warned for this post. Reason: 5