Computer Science, asked by ssubroto280, 10 hours ago

write a program to input the sum of two numbers​

Answers

Answered by funcount56
1

Answer

x= int(input("eneter 1st no.")

y=int(input("eneter 2nd no.")

print(x+y)

Explanation:

Answered by requize17
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