Addition, subtraction and multiplication are handled in the normal way with +, - and *
total = 3.4 + 4.7difference = 19 - 13product = 5 * 9***Remember: An integer is a whole number and a float is a decimal number***
If you add, subtract or multiply integers you always get an integer. So 3 + 5 will be 8. Python will treat the answer as an integer.
If any of the numbers are floats then the answer will be a float, even if the actual answer happens to be an integer. Eg 2.3 + 1.7 will be 4.0 The answer is 4 but Python will treat it as a float and print 4.0. This is because the answer to an float plus a float will usually be a float. The same goes for subtracting and multiplying.
WIth division there are a few more options.