write a python program to Add two numbers
Answers
Answered by
2
Python Program to Add Two Numbers
# This program adds two numbers provided by the user.
# Store input numbers.
num1 = input('Enter first number: ')
num2 = input('Enter second number: ')
# Add two numbers.
sum = float(num1) + float(num2)
# Display the sum.
Answered by
2
a = int(input("Enter first number: "))
b = int(input("Enter second number: "))
sum = a + b.
print("Sum of the numbers =", sum)
Similar questions