Python學習筆記(二)

1.range函數   2.Unicode   ASCII字符集使用7bits來表示一個字符;UTF-8表示一個字符是可變的  3.list的append方法 (1)描述 append()方法用於在列表末尾添加新的對象; (2)語法 list.append(obj) (3)實例 alist={'1541256','1415'}; alist.append(2009) print 'alist'  
相關文章
相關標籤/搜索