R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of these is a special method?

  • (A) __func__
  • (B) __self__
  • (C) __init__
  • (D) init
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
`__init__` is a special method called a constructor.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.