Advertisements
Advertisements
प्रश्न
What is a function?
Advertisements
उत्तर
Functions are named blocks of code that are designed to do a specific job. If you need to perform that task multiple times throughout your program, you just call the function dedicated to handling that task.
APPEARS IN
संबंधित प्रश्न
A named block of code that is designed to do one specific job is called ______
A Function which calls itself is called as ______
Read the following statement and choose the correct statement.
In Python, you don’t have to mention the specific data types while defining the function.
How to set the limit for recursive function? Give an example.
Differentiate ceil() and floor() function?
Write a Python code to check whether a given year is a leap year or not.
What are the points to be noted while defining a function?
Explain the different types of functions with an example.
Explain the following built-in function.
chr()
Explain the following built-in function.
pow()
