Python Program:

- To print the sum of 2 numbers

Example:

User Input: 2,3

Output: 5

print("Enter two numbers : ", end="")
n1=int(input())
n2=int(input())
print("Sum :",n1+n2)

Output:

  Enter two numbers : 7
  9
  Sum : 16
Program
basic

Here, we use 2 variables (above code n1 & n2) to take numbers from the user

Now, Just use the add(+) operator to print the sum of the numbers

#use add(+) operator
print("Sum :", n1+n2)

For devision (/), subtraction (-), multiplication (*), you can use their respective operators

Concept

Coming Soon !

Quick
Tutorial

Quote

Sometimes it’s the smallest decisions that can change your life forever.