write a program to input the sum of two numbers
Answers
Answered by
1
Answer
x= int(input("eneter 1st no.")
y=int(input("eneter 2nd no.")
print(x+y)
Explanation:
Answered by
0
a = int(input("Input a Number:"))
b = int(input("Input Number:"))
print("Arithmetic addition is", a+b)
You can also do
a = int(input("Input a Number:"))
b = int(input("Input Number:"))
print(f"Arithmetic addition is {a+b}")
To be Extra Fancy
a = int(input("Input a Number:"))
b = int(input("Input Number:"))
print(f"The sum of {a} and {b} is {a+b}")
Similar questions
Math,
5 hours ago
Math,
10 hours ago
Computer Science,
10 hours ago
Math,
8 months ago
Social Sciences,
8 months ago