Computer Science, asked by Fizaafreen64016401, 3 months ago

write a python program to accepts two integers and print their sum ​

Answers

Answered by Anonymous
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 anindyaadhikari13
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:

  1. START.
  2. Accept two numbers and store them in two variables, say a and b.
  3. Add a and b and store the result in s.
  4. Display the value of s.
  5. STOP.

Refer to the attachment for output ☑.

Attachments:
Similar questions