what is the syntax for adding two number in python
Answers
Answered by
0
Answer:
num1 = input('Enter first number: ') num2 = input('Enter second number: ') # Add two numbers. sum = float(num1) + float(num2
Hope it helps.
Please follow.
Please thanks.
Answered by
1
Answer:
A = int (input("enter your number here"))
B = int(input("en te r you second number"))
print(A+B)
Similar questions
Math,
9 days ago
Math,
9 days ago
Social Sciences,
9 days ago
Physics,
19 days ago
Math,
8 months ago