python2.7下input()函數輸入參數

使用input()函數,在運行時輸入字符需要用引號括起來。但在交互模式下不需要 question: Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> input_A = input("Input: ") File "<string>", line 1, in <module> NameError:
相關文章
相關標籤/搜索