Description

Write a program to calculate the addition of two numbers using function in Python Programming Language.

def add(a, b):
    print("The sum : ", a + b)

add(10, 20)

Output:

The sum : 30

Comments

Login is mandatory to comment Please login

Recommended Posts

Program to print even length words in a string in Python

Write a program to print even length words in a string in Python.

Calculate the GCD or HCF in Python Programming language

The GCD or HCF of two numbers is the largest positive integer that perfectly divides the two given numbers.

Given Number is EVEN Or ODD in Python Programming Language

Write a program to check that given number is Even or Odd in Python Programming language.

Diet Exercise Management System in Python

In this tutorial we write a management system which maintain the diet and exercise of the user.

Find the greatest number given three number by user in python programming

Write a program to check that given three number is by user in Python Programming language.

Calculate the area of circle in Python Programming

In this tutorial, we will learn all about the circle ( area, circumference ) with all types of method. Inbuild Methods, function, simple so on.