Contact: aviboots(AT)netvision.net.il
39,859 questions
51,780 answers
573 users
lst = ["python", "java", "swift"] dic = dict.fromkeys(lst, 12) print(dic) print(dic.get("python")) ''' run: {'python': 12, 'java': 12, 'swift': 12} 12 '''