Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('How many cats do you have?')
- numCats = input()
- try:
- if int(numCats) >= 4:
- print('That is a lot of cats.')
- if int(numcats) < 0:
- print('You entered an invalid value.')
- else:
- print('This is not many cats.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement