Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Fill in
/
Python
/
Python
Name the magic method that defines an object’s developer-oriented representation
from Python
intermediate
1 min
Name the magic method that defines an object’s developer-oriented representation.
Check
Ask AI about this kata
Report an error
previous kata
For an ordinary instance method, what does Python do when code calls account.deposit(10)?
Quiz
next kata
A frozen dataclass has a field values: list[int]. Which statement is correct?
Quiz
A new version is available
Reload