Traceback (most recent call last):
File "C:/Users/pactera/PycharmProjects/study/number", line 10, in <module>
print("list1[1:5]:",dict1['school']);
KeyError: 'school'
python中的字典(map)没有key时报错
最新推荐文章于 2024-01-18 10:15:07 发布
Traceback (most recent call last):
File "C:/Users/pactera/PycharmProjects/study/number", line 10, in <module>
print("list1[1:5]:",dict1['school']);
KeyError: 'school'