Contact: aviboots(AT)netvision.net.il
39,924 questions
51,857 answers
573 users
lst = ['python', 'php', 'java', 'c++', 'c'] prefix = 'X_' lst = [prefix + s for s in lst] print(lst) ''' run: ['X_python', 'X_php', 'X_java', 'X_c++', 'X_c'] '''