Sum of Two Numbers
Easy 20 XPBasics
Read two integers, one per line, and print their sum.
- Input
- Two lines, each with one integer.
- Output
- One integer: the sum.
Sample 1
Input
5 7
Output
12
Read input with input() (no prompt message) and print only the answer. Run tries the Input box; Submit checks all test cases.
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.The solution unlocks after 3 submissions.