Advertisement
ganiyuisholaafeez

Untitled

Feb 22nd, 2020
132
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(list_of_strings):
  2.     for list_of_string in list_of_strings:
  3.         if list_of_string == 3:
  4.             new_join = "".join(list_of_string)
  5.         return new_join
  6. print(fancy_concatenate(["A", "B", "C"]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement