top of page

Data Scientist Program


Free Online Data Science Training for Complete Beginners.

No prior coding knowledge required!

Functions in Python

Functions are on of the main pillar of python.

It can solve large problems with direct commands.

If used in a proper way,it can save time and make coding simple.

In Python,Function is a particular instruction to perform a specific task.

There are two types of function.

First one is built in function and the other type is user defined functions.

Both are used to make work simpler.

In python,We define function using def with function name.Function parameter is argument.

# function definition
def my_function():
   print("I am a good boy")
# function calling

Out put of above snippet will be i am a good boy.


Recent Posts

See All


bottom of page