Question: Python. In this code challenge, the input is two strings that are expected to be strings of digits. They will be stored in the variables
Python. In this code challenge, the input is two strings that are expected to be strings of digits. They will be stored in the variables numstr1 and numstr2 as strings.
Your task is to define a variable called sum_of_ints that has the sum of the numbers represented by those digits.
Sample Input 1:
8 11
Sample Output 1:
19
Sample Input 2:
1 2
Sample Output 2:
3
Sample Input 3:
100000 9
Sample Output 3:
100009
#define sum_of_ints
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
