Python Program:

- To Create a function to add 2 numbers

Example:

User Input: 2,3

Output: 5

def add(n1 ,n2) :
  return n1+n2

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

Output:

  Enter two numbers : 7
  5
  Sum : 12
Program
basic
//function to add 2 numbers
def add(n1 ,n2) :
  return n1+n2  # use add(+) operator

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

Concept

Coming Soon !

Quick
Tutorial

Quote

Make bold choices and make mistakes. It’s all those things that add up to the person you become.