SHARE
TWEET

Untitled

Demoore19 Feb 22nd, 2020 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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', ''])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top