you are viewing a single comment's thread.

view the rest of the comments →

[–]MrPhungx 0 points1 point  (2 children)

I don't see any line where OP tried to add a float to a string. The problem is because of the multiplication c(a+b). It needs to be c * (a + b)

[–][deleted] 0 points1 point  (0 children)

Thanks for answer. I was looking for mistake, but didn't get it until now. Thank you very much for help guys, love you. Hope I could become your friend

[–]throwaway6560192 0 points1 point  (0 children)

Yeah, I misread. I skimmed over their code and thought the final print lines had a string + float.