7.9k views
8 votes
[100 points] Fill in the missing word.

class CatLady(Exception):
pass

answer = input("How many cats do you have? ")
cats = int(answer)
try:
if cats > 5:
raise CatLady
else:
print("You have", cats, "cats")
_________ CatLady:
print("You have a lot of cats!")

User Feofilakt
by
5.2k points

1 Answer

6 votes

Answer:except

Step-by-step explanation:

i took the test

User Sankalp Bhatt
by
5.0k points