Contact: aviboots(AT)netvision.net.il
39,009 questions
50,723 answers
573 users
dic = { "name": "Tom", "age": 52, "language": "python", "company": "google"} dic.update({"start": 2001}) print(dic) ''' run: {'name': 'Tom', 'age': 52, 'language': 'python', 'company': 'google', 'start': 2001} '''
dic = { "name": "Tom", "age": 52, "language": "python", "company": "google"} dic["start"] = 2001 print(dic) ''' run: {'name': 'Tom', 'age': 52, 'language': 'python', 'company': 'google', 'start': 2001} '''