Advertisement
Demoore19

Untitled

Feb 22nd, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def clean_up(string):
  2. for element in string:
  3. if len(element) > 1:
  4. print(' '.join(string))
  5. elif len(element) ==0:
  6. print(False)
  7. return string
  8. clean_up(['he', 'is', 'a', 'gay', ''])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement