2018-10-23
閱讀量:
863
python錯(cuò)誤解析(十六)
代碼如下:
>>> print x
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'x' is not defined
>>> x = 1
>>> print x
1
【錯(cuò)誤分析】Python不允許使用未賦值變量






評(píng)論(0)


暫無數(shù)據(jù)
CDA考試動(dòng)態(tài)
CDA報(bào)考指南
推薦帖子
0條評(píng)論
0條評(píng)論
0條評(píng)論