Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def in_your_pants(arg):
- return arg if not arg.endswith("!")
- or not arg.endswith(".")
- or not arg.endswith("?")
- else
- arg[:-2] + "in your pants" + arg[-1]
- if not arg[-3].isupper()
- else
- arg[:-2] + "IN YOUR PANTS" + arg[-1]
Add Comment
Please, Sign In to add comment