Advertisement
Adehumble

Week3 Coding Exercise 3

Feb 11th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. #3
  2. def fancy_cleanup(string):
  3.     print(string.strip().replace(" ","!").replace("g","z"))
  4.  
  5. user_input=input("Enter any sentence:  ")
  6. fancy_cleanup(user_input)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement