Python program to concatenate Strings around K
Given List of Strings, join all the strings which occurs around string K. Input : test_list = ["Gfg", "*", "is", "best", "*", "love", "gfg"], K = "*" Output : ['Gfg*is', 'best*love', 'gfg'] Explanation : All elements around * are joined.Input : test_list = ["Gfg", "$", "is", "best", "$", "love", "gf