执行以下程序,输出结果为( )。dict1 = {'one': 'two': 'three': 3}dict2 = {'one': 'tmp': 5}dict1.update(dict2)print(dict1)
选项:
A:{'one': 1, 'two': 2, 'three': 3, 'tmp': 5}
B:{'one': 4, 'two': 2, 'three': 3}
C:{'one': 1, 'two': 2, 'three': 3}
D:{'one': 4, 'two': 2, 'three': 3, 'tmp': 5}
发布时间:2024-05-09 15:49:19