This video will explain you about the different types of function available in Python.
Built in function- which are already present in our compiler for use.
Module function -. Needs to import some module to use that function like math module to use sqrt(), pow() etc.
User defined function- created by user according to use.
We need to use def keyword to define function and pass argument as values.
#function #types of function #actual parameter #formal parameter #builtin function
Introduction to Function in Python
• Python Class 12 | Introduction to Function...
Function in python is categorized into three groups
Built-in functions: Pre-defined functions and are always available for use. Eg – print(), len(), input() etc.
Functions defined in modules: Pre-defined but under some particular modules and can only be used when that module is imported. (We’ll discuss Module in chapter Next Chapter). Eg- if we import math module then we can use sin(), sqrt(), pow() etc.
User defined functions: These are defined by the programmer according to need of program.
In this chapter we will learn about definition and calling of functions in a program.