Advertisement
Ambience_Media

Untitled

Feb 22nd, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  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"]]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement