In this program, we will take two numbers as strings and add two strings as they are numbers.
Steps to solve the program
- Take two numbers as a string.
- Add two strings after converting them into integers using int().
- Print the output.
#Printing output
num1 = "3"
num2 = "7"
result = int(num1)+int(num2)
#Printing output
print(result)
Output :
10