runtime
22 / 500
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.

Keepprice = "12" and shipping = "5" as they are. Check runs your program again with other amounts
PrintsTotal: 17
Expected output1 line
  1. 1Total: 17

Loading your progress…

Add the numbers, not the text — Python practice · Runtime