python Basic usage
摘要:
__author__ = 'student' l=[] l=list('yaoxiaohua') print l print l[0:2] l=list('abc') print l*3 l.append(4) print l l.extend('de') print l print l.count('a') l.sort() print l l.reverse() print l l[0:2]=... 阅读全文
posted @ 2015-05-10 22:11 tneduts 阅读(252) 评论(0) 推荐(0) 编辑