SHARE
TWEET

Untitled

Ambience_Media Feb 22nd, 2020 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def fancy_concatenate(alist):
  2.     for words in alist:
  3.         word = list(words)
  4.         if len(word) == 3:
  5.             "".join(alist)
  6.  
  7.     return "".join(alist)
  8.  
  9.  
  10. print(fancy_concatenate([["A", "B", "C"], ["D", "E", "F"]]))
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
Top