Consider the following class definitions: What is true abou…

Consider the following class definitions: What is true about the code in this question after the above definitions are executed and the following global code is executed?  Check all that apply. Ed = Horse (‘Mr. Ed’, ‘land’) Moby = Whale (‘Moby Dick’, ‘ocean’) Monty = Snake (‘Python’, ‘ground’) Angie = Eagle (‘Angeline’, ‘air’) for m in [Ed, Moby, Monty, Angie]:         m.moves( )

What lines will appear in the display output of the followin…

What lines will appear in the display output of the following code? Check all that apply.class OnlyEvens (Exception):    pass try:    num = 3    if int(num) % 2 != 0:         raise OnlyEvens (‘Something went wrong’)    print(‘Number is even’)except OnlyEvens as e: print(e.args[0])except Exception:    print(‘Only even integers allowed’)else: print(‘Exiting’) finally: print (‘Closing’)