摘要: #元组也是list,只不过不可变,可以切片a=('sss','3')print(a[0])print(a.count('sss'))#找个数print(a.index('sss'))#返回下标 阅读全文
posted @ 2018-01-02 20:07 秃头小怪兽 阅读(33) 评论(0) 推荐(0) 编辑