write a python program to accepts two integers and print their sum
Answers
Answered by
22
Answer:
Python Program to Add Two Numbers
a = int(input("enter first number: "))
b = int(input("enter second number: "))
sum = a + b.
print("sum:", sum)
Explanation:
Hope this helps u ❣
Gummonie ☺
pls Flw me ☹
give me thnks ☹
✌ITZ AbUsiNg QuEeN ✌
Answered by
14
Required Answer:-
Question:
- Write a Python program to accept two integers and print their sum.
Solution:
Here comes the códe.
a=int(input("Enter First Number: "))
b=int(input("Enter Second Number: "))
s=a+b
print("Sum:",s)
Algorithm:
- START.
- Accept two numbers and store them in two variables, say a and b.
- Add a and b and store the result in s.
- Display the value of s.
- STOP.
Refer to the attachment for output ☑.
Attachments:


Similar questions