[[email protected] ~]# python a.py you he it [[email protected] ~]# 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() [[email protected] ~]#
时间: 2024-10-14 22:12:01