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 ______
Which function is called anonymous un-named function?
While defining a function which of the following symbol is used.
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
Write the different types of functions.
Write a Python code to check whether a given year is a leap year or not.
Explain the different types of functions with an example.
Explain the following built-in function.
id()
Explain the following built-in function.
round()
Explain the following built-in function.
type()
