Advertisements
Advertisements
प्रश्न
Explain the following built-in function.
type()
थोडक्यात उत्तर
Advertisements
उत्तर
| Function | Description | Syntax | Example |
| type ( ) | Returns the type of object for the given single object. | type (object) |
|
shaalaa.com
Introduction to Python Functions
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
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.
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
What is a function?
Write the different types of functions.
How to set the limit for recursive function? Give an example.
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 following built-in function.
round()
