Contact: aviboots(AT)netvision.net.il
41,157 questions
53,648 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'] '''