244,029 views
26 votes
26 votes
[80 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 Giusy
by
3.3k points

2 Answers

12 votes
12 votes

Answer:

except

you can use github copilot for this question

User Wuct
by
3.1k points
23 votes
23 votes

Answer: except

Explanation: i took the test

User Bessoufi Mounir
by
3.0k points