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://azwzsj.com/article/jcjsis.html