在Python中的用户输入后,“NameError:name‘未定义”
UserName = input("Please enter your name: ") print ("Hello Mr. " + UserName) raw_input("<Press Enter to quit.>")
Traceback (most recent call last): File "Test1.py", line 1, in <module> UserName = input("Please enter your name: ") File "<string>", line 1, in <module> NameError: name 'k' is not defined
NameError 'k'
'k'
HUH函数
慕的地8271018
Qyouu
相关分类