Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Sum Numbers

Read numbers from the user one at a time. When the user types 0, stop and print the sum.

Example:

Input:

text
3
5
7
0

Output:

text
15

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python