题目内容

dict = {'Name': 'Runoob', 'Age': 7, 'Class': 'First'}print ("dict['Name']: ", dict['Name'])

查看答案
更多问题

dict = {'Name': 'Runoob', 'Age': 7, 'Class': 'First'}print ("dict['Age']: ", dict['Age'])

dict = {'Name': 'Runoob', 'Age': 7, 'Class': 'First'}dict['Age'] = 8print ("dict['Age']: ", dict['Age'])

dict = {'Name': 'Runoob', 'Age': 7, 'Class': 'First'}dict['School'] = "菜鸟"print ("dict['School']: ", dict['School'])

dict = {'Name': 'Runoob', 'Age': 7, 'Name': '小菜鸟'}print ("dict['Name']: ", dict['Name'])

答案查题题库