python基本数组

[root@bogon ~]# python   a.py
you
he
it
[root@bogon ~]# cat a.py 
#!/usr/bin/python
#encoding:utf-8
def sum():
    arry = ['you','he','it']
    for i in arry:
        print(i)
if __name__ == "__main__":
    sum()
[root@bogon ~]#

文章标题:python基本数组
网址分享:http://scyanting.com/article/jcjsis.html