English

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.

MCQ
Advertisements

Solution

I is correct and II is wrong.

shaalaa.com
Introduction to Python Functions
  Is there an error in this question or solution?
Chapter 7: Python functions - Evaluation [Page 112]
Advertisements
Share
Notifications



      Forgot password?
Use app×