A function is a piece of code that only executes when called. A function can take data in the form of parameters. As a result, a function can return data.
Functions are divided into two categories. User-defined functions - These are functions that the user creates to do a specific activity. Built-in functions are Python functions that have already been defined.
There are two main types of functions: User-defined functions — These are functions that the user creates to complete a specific task. Built-in functions are Python functions that are already defined.
The def keyword is used to define functions.
Learner's Ratings
4.4
Overall Rating
66%
19%
9%
3%
3%
Reviews
H
hamsinisekar
5
NICE
V
Vana raj P
5
Excellent speech and understanding
D
Dhanusha Sha
5
Super and expression
D
Deivanai
4
Python was using and learning laptop not mobile yaa ?? Pls reply me
R
Raja Sekar
5
excellent
M
M Anupriya Murali
5
Python programming with hand entha skill romba important my father former engalu keta cash illa ma entha skills ennala kathuka mudiyala epo free kathukura
M
MOHAMMAD HASSAN
5
"I've completed the course. Is there any way to get the certificate without payment? I'm currently unable to pay."
R
Ragul
5
Thanks for develop my skills in my mother tongue
V
Vignesh s
5
easy to understand
S
Smeena Sekar
5
Thank you for teaching in Tamil
Show More
Recommended Courses
The Complete JavaScript Course - Beginner to Advance
Share a personalized message with your friends.