You add up, subtract, divide and multiply these numbers in exactly the same way as the integers you’ve been using. A warning comes with floating point numbers, though: you shouldn’t trust them, if you’re after a really, really precise answer!
Write a script to add up the following figures: 198, 134, 76. Use a print statement to output your answer.
Write a script to add up the following two numbers: 15, 45. Then subtract the answer from 100. Use a print statement to output your answer.
Use a print statement to output your answer.