摘要:
1:对元素进行遍历[root@80sa python]# cat test.py #!/usr/bin/env python#coding:utf-8for x in "jesse": print x[root@80sa python]# python test.py jesse2:对列表进行遍历[root@80sa python]# cat test.py #!/usr/bin/env python#coding:utf-8list = ["jesse","elain","zcl"]for x in range( 阅读全文
posted @ 2013-06-25 23:53
study-notes
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号