Contact: aviboots(AT)netvision.net.il
40,764 questions
53,140 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} '''