Kodewick
Start learning →
Starter←→0 / 112

Text Back Into Numbers

#109Starterint(a) + int(b)3 min

a and b hold "12" and "8" — look at the quotes: those are **text**, not numbers. Show what the two numbers add up to.

Writing print(a + b) shows 128, because that just sticks the two pieces of text together.

Should show
20
main.py
a = "12"
b = "8"
# your code here: show what the two numbers add up to
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.