FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 79   



Following program shows you how to take two numbers from user and add those two numbers.
In this program we take two numbers from user using input method and add those two numbers

number1 = int(input("Enter first number:"))
number2 = int(input("Enter second number:"))
sum= number1 + number2
print("Sum of the given two numbers is: ", sum)

Output:

Enter first number: 200
Enter second number: 55
Sum of the given two numbers is:  255



On By


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News