0orange0 发表于 2021-6-8 15:58:37

NameError: name 'secrect' is not defined怎么解决

零基础学习python第4讲
编写的代码为:

但运行结果却有报错

0orange0 发表于 2021-6-8 16:00:36

啊,我发现自己名称写错了

灰晨 发表于 2021-6-8 16:02:02

secret和secrect不一样,你拼错了{:10_256:}

私はり 发表于 2021-6-8 16:51:19

你第二行写的secret,而你第六行用的secrect,所以报错

Twilight6 发表于 2021-6-8 20:00:08



若已解决请更改分类,或设置最佳哈~

页: [1]
查看完整版本: NameError: name 'secrect' is not defined怎么解决