For some reason, it only outputs 2, rather then 2.6 as it does if you do the problem on a calculator.
If I were to do 2+.6 I do get the expected output.
Excellent, that worked! And I only had to add it to the 10.
Note that I couldn't add it to the 6 since that is an unknown value, and you can't do a.0 without an error.
Thanks for the help!
Also like to add in here for future readers, (sense I just found this out) that if you are trying to return a float value, you need to have you fuction be a float, not an int.