Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

Types of Function in Python:-

 python programming language में function दो प्रकार का होता है

  1. In-Built/Predefined Function

  2. User-Defined Function

In-Built/Predefined Function

               इसे library function भी कहते हैं वह function जो python library में पहले से define किए गया है library function कहलाता है। python programming में कई प्रकार के library function होते हैं जैस-chr(), id(), print(), ord(), type(), len(), range() etc.

User-Defined Function

                ये वे फंक्शन होते हैं जो user द्वारा बनाए जाते हैं। user इन फंक्शन को अपनी आवश्यकताओं के अनुसार बनाते हैं। वह function जिसे user के द्वारा define किया जाता है, उसे user define function कहा जाता है।

 

 

Types of Function in Python:-

 There are two types of functions in Python programming language

  1. In-Built/Predefined Function

  2. User-Defined Function

In-Built/Predefined Function

                    It is also called library function. The function which is already defined in the python library is called library function. There are many types of library functions in python programming like chr(), id(), print(), ord(), type(), len(), range() etc.

User-Defined Function

                  These are the functions which are created by the user. Users create these functions according to their requirements. The function which is defined by the user is called user defined function.

error: Content is protected !!