Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #3
- def fancy_cleanup(string):
- print(string.strip().replace(" ","!").replace("g","z"))
- user_input=input("Enter any sentence: ")
- fancy_cleanup(user_input)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement