subject

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!")

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:30
Aprovides legal protection for something an individual has created
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
You know the right answer?
Fill in the missing word. class CatLady(Exception):
pass

answer = input("How many...
Questions
question
Health, 20.11.2020 21:50
Questions on the website: 13722363