Which of the following test cases incorrectly use the self.a…

Which of the following test cases incorrectly use the self.assertTrue or self.assertFalse functions?   class TestPalindrome(unittest.TestCase): def test_cases(self): self.assertFalse(is_palindrome(“racecar”)) #1 self.assertTrue(is_palindrome(“hello”)) #2 self.assertTrue(is_palindrome(“level”)) #3 self.assertFalse(is_palindrome(“python”)) #4 self.assertTrue(is_palindrome(“madam”)) #5 self.assertFalse(is_palindrome(“world”)) #6 self.assertTrue(is_palindrome(“race car”)) #7

What best describes what this code is doing overall? class M…

What best describes what this code is doing overall? class Monster:    def __init__(self, level=1, name=”Monster”):        self.level = level        self.name  = name    def increase_level(self, amount):        self.level += amountm = Monster()m.increase_level(2)print(m.level)

What is the output?  class Account:    def __init__(self, ho…

What is the output?  class Account:    def __init__(self, holder, balance=0):        self.holder  = holder        self.balance = balance    def withdraw(self, amount):        if amount > self.balance:            return “Insufficient balance”        self.balance -= amount        return self.balanceclass CheckingAccount(Account):    withdraw_fee = 1    def withdraw(self, amount):        return Account.withdraw(self, amount + self.withdraw_fee)class PremiumChecking(CheckingAccount):    withdraw_fee = 0p = PremiumChecking(“Dana”, 100)print(p.withdraw(40))