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.
Advertisements
Question
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.
Options
I is correct and II is wrong.
Both are correct.
I am wrong and II is correct.
Both are wrong.
Advertisements
Solution
I is correct and II is wrong.
APPEARS IN
RELATED QUESTIONS
A named block of code that is designed to do one specific job is called ______
A Function which calls itself is called as ______
Which function is called anonymous un-named function?
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
What is a function?
How to set the limit for recursive function? Give an example.
Differentiate ceil() and floor() function?
Explain the following built-in function.
id()
Explain the following built-in function.
chr()
Explain the following built-in function.
pow()
