New to python (4days) mystery error

Since you’re working with floating point numbers, you have to use float instead of int to convert the user input to a number:

z = float(e) + float(f) + float(g) + float(h) + float(i)

Leave a Comment