Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def cleanup(a_list_of_strings):
- print(" ".join(a_list_of_strings).strip( ))
- cleanup(["", "", " "])
- cleanup(["cat", "er", "pillar"]) #Example (the argument must be a list containing strings)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement