Return the Sum of Two Numbers

Return the Sum of Two Numbers

Return the Sum of Two Numbers

Number of replies: 35
In reply to First post

Re: Return the Sum of Two Numbers

by Abdul Wahid 193-15-2992 -

Source code:

a=int(input("1st number : "))
b=int(input("2nd number : "))
print("Sum of two number :",a+b)


In reply to First post

Re: Return the Sum of Two Numbers

by Mahin Ahmed 191-15-1029 -
def sum(x,y):
    return x+y

a= int(input("Enter first number:"))
b= int(input("Enter second number:"))

print("Sum of the given two numbers is: ", sum(a,b))


In reply to First post

Re: Return the Sum of Two Numbers

by MD: AL AMIN PATWARY -
a=  int(input("Enter the 1st number : "))
b= int(input("Enter the 2nd number : "))
print("Sum of two number :",a+b)
In reply to First post

Re: Return the Sum of Two Numbers

by NUSRAT JAHAN (193-15-2924) -
x=int(input("Enter the 1st number "))
y=int(input("Enter the 2nd number "))
sum = x + y
print("the Sum of Two Numbers = ", sum)

In reply to First post

Re: Return the Sum of Two Numbers

by abdullah al taky 193-15-2917 -
num1=int(input("enter 1st number"))
num2=int(input("enter 2nd number"))
result=int(num1+num2)
print("the sum of two number is: ",result)




Attachment Screenshot 2021-06-10 093525.png
In reply to First post

Re: Return the Sum of Two Numbers

by Rony Ahmed -
X= int(input("Enter the 1st number : "))
Y= int(input("Enter the 2nd number : "))
print("Sum of two number :",x+y)
In reply to First post

Re: Return the Sum of Two Numbers

by Al Amin 193-15-2981 -
a=int(input("1st number : "))
b=int(input("2nd number : "))
print("Sum of two number :",a+b)
In reply to First post

Re: Return the Sum of Two Numbers

by Jackson Talukder -
a = int(input("Enter 1st number: "))
b = int(input("Enter 2nd number: "))
result = int(a + b)
print("The sum of the two number is: ",result)
In reply to First post

Re: Return the Sum of Two Numbers

by Mohammad Imam Hossain 191-15-2437 -
def sum(x,y):
return x+y

a= int(input("Enter first number:"))
b= int(input("Enter second number:"))

print("Sum of the given two numbers is: ", sum(a,b))
In reply to First post

Re: Return the Sum of Two Numbers

by Nazbir Ahmed Niloy(191-15-2742) -

def sum(x,y):

    return x+y


a= int(input("Enter first number:"))

b= int(input("Enter second number:"))


print("Sum of the given two numbers is: ", sum(a,b))

In reply to First post

Re: Return the Sum of Two Numbers

by Apel Mahmud (193-15-2984) -

a=int(input("Enter the 1st number : "))
b=int(input("Enter the 2nd number : "))
print("Sum of two number :",a+b)

a=int(input("Enter the 1st number : "))  b=int(input("Enter the 2nd number : "))  print("Sum of two number :",a+b)

In reply to First post

Re: Return the Sum of Two Numbers

by Ata-E-Elahi 193-15-2946 -
x = int(input("Enter the first number:"))
y = int(input("Enter the second number:"))
Sum = x+y
print("Sum of two numbers=",Sum)
Attachment Untitled.png
In reply to First post

Re: Return the Sum of Two Numbers

by Md. Jannatul Ferdous 191-15-2497 -
a = int(input("Enter 1st number: "))
b = int(input("Enter 2nd number: "))
result = int(a + b)
print("The sum of the two number is: ",result)