name「字符串 」 is not defined.

python中input出現的name「 字符串」 is notdefined. 在運行程序中,出現錯誤: 解決辦法,input改爲raw_input,因爲raw_input將所有的輸入看作字符串,並且返回一個字符串類型。
相關文章
相關標籤/搜索