Contact: aviboots(AT)netvision.net.il
41,615 questions
54,278 answers
573 users
lst = ['python', 'php', 'java', 'c++', 'c'] suffix = '_Y' lst = [s + suffix for s in lst] print(lst) ''' run: ['python_Y', 'php_Y', 'java_Y', 'c++_Y', 'c_Y'] '''