Contact: aviboots(AT)netvision.net.il
41,301 questions
53,811 answers
573 users
string = 'python_java_c_c++_c#' delimiter = '_' lst= [w + delimiter for w in string.split(delimiter) if w] print(lst) ''' run: ['python_', 'java_', 'c_', 'c++_', 'c#_'] '''