TypeError: 'float' object is not callable


#1

File "python", line 12, in

c1 = float(input("first number"))
c2 = float(input("second number"))
c3 = float(input("third number"))
c4 = float(input("fourth number"))
c5 = float(input("fifth number"))

sum = c1 + c2 + c3 + c4 + c5
avg = (c1+c2+c3+c4+c5)/5

(12) print (c1, "+", c2, "+", c3, "+", c4, "+", c5, "is", sum)


#2

dont use "+". Get rid of the quotes and the commas.

print c1 + c2 + c3 + c4 + c5 + "is" + sum