THE MOMENT
2013年8月7日 星期三
Python 學習筆記
中文出現錯誤,在程式碼開頭加上:
# encoding: utf-8
Before Python 3.0 After
raw_input 取得字串 --> 改名為 input
input 取值 --> 取消,可以改用 eval(input())
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言