A

Admin • 832.27K Points
Coach

Q. How are default parameters specified in a function?

  • (A) param = value
  • (B) param: value
  • (C) param -> value
  • (D) param == value
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Default values are assigned with `=` in function definitions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.