Contact: aviboots(AT)netvision.net.il
41,389 questions
53,935 answers
573 users
dic = {234 : 'python', 8762: 'java', 3: 'php', 18: 'c', 200 : 'c++'} dic = dict(map(lambda i: (i[0] + 3, i[1] + '_OK'), dic.items() )) print(dic) ''' run: {237: 'python_OK', 8765: 'java_OK', 6: 'php_OK', 21: 'c_OK', 203: 'c++_OK'} '''