studentsInfoList=[{'id':'01','name':'张三'},{'id':'02','name':'李四'},{'id':'03','name':'王五'}],如何获取值"王五"?

2023-06-10

studentsInfoList=[{'id':'01','name':'张三'},{'id':'02','name':'李四'},{'id':'03','name':'王五'}],如何获取值"王五"?

A.studentsInfoList[3]['name'])

B.studentsInfoList[2]['name'])

C.studentsInfoList[1]['name'])

D.studentsInfoList[1]['王五'])



参考答案:

B