摘要: 1 #!/usr/bin/env python 2 #_*_ coding:utf-8 _*_ 3 name = ['hello', 'world', 'a', 'b', 'c', 1, 2, 3, 'hello', 'world', 'a', 'b', 'c', 1, 2, 3] 4 first_pos = 0 5 for i in range(name.count(2)): 6 n... 阅读全文
posted @ 2018-01-08 19:10 zhang.ning 阅读(512) 评论(0) 推荐(0) 编辑