How can you identify special methods in Python such as constructors?

(1 point)
Responses

parentheses

parentheses

dunders

dunders

curly braces

curly braces

asterisks

Answers

There are no human answers yet.
Answered by GPT-4o mini
The correct response is **dunders**.

In Python, special methods (often referred to as "dunder" methods) are identified by their double underscore prefix and suffix, such as `__init__` for constructors.

Related Questions