Python - Magic Methods and Operator Overloading
Find the bug in this code snippet:
class Book:
def __repr__(self):
return Book(title)
b = Book()class Book:
def __repr__(self):
return Book(title)
b = Book()15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions