Well done!
You have completed Customizing Python with Magic Methods and Operator Overloading Quiz!
Quiz Question 1 of 5
Consider the following code:
`class Account: def init(self, name="", amount=0): self.name = name self.amount = amount
def str(self): return f"{self.name}: ${self.amount}"
def lt(self, other):
return self.amount < other.amount
If
acct_a = Account("Ashe", 6492)and
acct_b = Account("Bevins", 5210), which of the following statements correctly compares the two accounts and would return
False`?
Choose the correct answer below: