R

Ram Sharma • 3.40K Points
Extraordinary

Q. What does `super()` do in Python?

  • (A) Calls the base class method
  • (B) Returns the parent class
  • (C) Creates a new class
  • (D) Overrides the class
  • Correct Answer - Option(A)
  • Views: 9
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
`super()` is used to call methods from the parent class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.