Advertisement
Blessing988

Untitled

Feb 21st, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. def cleanup(a_list_of_strings):
  2.     print(" ".join(a_list_of_strings).strip( ))
  3.  
  4.  
  5. cleanup(["", "", " "])
  6. cleanup(["cat", "er", "pillar"])  #Example (the argument must be a list containing strings)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement