为什么爆错啊
>>> member.append('葫芦娃娃')Traceback (most recent call last):
File "<pyshell#15>", line 1, in <module>
member.append('葫芦娃娃')
NameError: name 'member' is not defined member 未定义,需要先定义 member 列表才可以往里面添加元素:
member = [] zltzlt 发表于 2020-8-2 10:54
member 未定义,需要先定义 member 列表才可以往里面添加元素:
好的,谢谢了
页:
[1]