question 22 Operators & Expressions · medium
Add the numbers, not the text
An import gives the price and the shipping as text. The receipt should print their sum, but for "12" and "5" it prints 125. Fix the total so it adds the amounts as whole numbers.
Keep
price = "12" and shipping = "5" as they are. Check runs your program again with other amountsPrints
Total: 17Expected output1 line
- 1Total: 17