Easy_Flex

Untitled

Feb 21st, 2020
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. def fancy_cleanup(word):
  2.     return word.strip().replace("g", "z").replace(" ", "!")
  3.  
  4.  
  5. print(fancy_cleanup("   great fool   "))
Add Comment
Please, Sign In to add comment