# Simple Python program to understand the arithmetical operator addition
# Here, we are storing the first input numbers in num1
num1 = input(‘Enter first number: ‘)
# Here, we are storing the second input numbers in num2
num2 = input(‘Enter second number: ‘)
# Here, we are declaring a variable sum to store the result
# Here, we are using the arithmetical operator to add the two numbers
sum = float(num1) + float(num2)
# Here, we are printing the sum of the given two numbers
print(‘The sum of {0} and {1} is {2}’.format(num1, num2, sum))
print(‘The sum of ‘,num1,’ and ‘,num2,’ is ‘,sum)


Leave a Reply

Your email address will not be published. Required fields are marked *