摘要:
1.list--列表(1)append:(2)count:>>> x = ['to','bee','or','not','to']>>> x.count('to')2>>> x.count('apple')0(3)extend:列表尾部一次性追加另一个序列>>> a=[1,2,3]>>> b=[4,5,6]>>> a.extend(b)>>> a[1, 2, 阅读全文
posted @ 2013-12-25 14:31
画家与我
阅读(321)
评论(0)
推荐(0)

浙公网安备 33010602011771号