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, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
Answers: 1
You know the right answer?
Fill in the missing word. class CatLady(Exception):
    pass
answer = input("How many...
Questions
question
Mathematics, 02.06.2020 00:58
question
Biology, 02.06.2020 00:58
question
Mathematics, 02.06.2020 00:58
question
Mathematics, 02.06.2020 00:58
question
Mathematics, 02.06.2020 00:58
question
Spanish, 02.06.2020 00:58
Questions on the website: 13722361