python 注意事項

當python 的變數資料型態是串列時, 必須要宣告
不能直接append 東西

例如:

data.append({1,2})

而沒有先宣告

data = []

會有error

留言

熱門文章