Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''function to join strings in a list'''
- def cleanup(slist):
- return ' '.join(slist)
- cleanup(["cat","er","pillar"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement