LinkedIn Python Skill Assessment Quiz Answers

What is the correct syntax for defining an __init__() method that takes no parameters?

Latest Update on 25th January, 2022 by Certification Course Answers

What is the correct syntax for defining an __init__() method that takes no parameters?

  1.  class __init__(self): pass
  2.  def __init__(): pass
  3.  class __init__(): pass
  4.  def __init__(self): pass

Correct Answer:

  •  def __init__(self): pass

Latest Updates

No posts found in this category.