print "Do you want to be (A) begginner, (B) interidate or (Other) advanced?"
input = level
if level == "A":
...
elif level == "B":
...
else :
...
这出现了这个错误:
Traceback (most recent call last):
File "C:/Users/*****/Maths.py", line 4, in <module>
input = level
NameError: name 'level' is not defined
如果这很明显,我是 python 新手,很抱歉,但我无法通过指南找到解决方案。