在多年开发和教学 Python 的过程中,有一个 bug,出现的频率非常高,经常有人会踩坑: person = {‘name’: ”, ‘id’: 0} team = [] for i in range(3): x = person x[‘id’] = i team.append(x) team[0][‘name’]……
你已到达了世界的尽头(。・`ω´・)!
版权所有 © 2019-2021 yumefx | 天SCP备052519号-1
Theme Memory By Shawn With | All Rights Reserved
(●'◡'●)ノ本博客已萌萌哒运行了