Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat = eval(input("Please enter an equation for cat: "))
- yell = int(input("Please enter an integer for yell: "))
- def meow():
- if int(cat) == yell:
- print("The cat meowed")
- else:
- print("The cat was close to meowing by", cat - yell, "but didn't.")
- meow()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement