Weabu 发表于 2020-10-2 08:46:15

求解

>>> first = 3
>>> second = 8
>>> third = firet + second
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
    third = firet + second
NameError: name 'firet' is not defined
>>> print(third)
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
    print(third)
NameError: name 'third' is not defined



请问这是什么问题

巴巴鲁 发表于 2020-10-2 08:48:21

第三行是first,不是firet

巴巴鲁 发表于 2020-10-2 08:49:18

要学会根据报错信息找错误
页: [1]
查看完整版本: 求解