Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #clean_up
- lists = ['cat', " ", 'er', 'pillar']
- def clean_up(lists):
- for list in lists:
- if " " in lists:
- lists.remove(" ")
- join = " ".join(lists)
- return join
- clean_up(lists)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement