摘要: 1.append(obj) 向列表中添加一个对象obj 2.count(obj) 返回一个对象obj在列表中出现的次数. 3.extend(seq) 把序列seq的内容添加到列表中。 4.index(obj,i=0 ,j=len(list))返回list[k] == obj 的值,并且k的范围在i 阅读全文
posted @ 2017-05-28 00:30 wlgo2108 阅读(336) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python# -*- coding: utf-8 -*-# @Time : 2017-05-20 2:43# @Author : wlgo2108# @Site : # @File : Menu01.py# @Software: PyCharm# @Email : w 阅读全文
posted @ 2017-05-28 00:26 wlgo2108 阅读(206) 评论(0) 推荐(0) 编辑