列表方法 = Python 3.5.2 (default, Sep 14 2016, 11:27:58) [GCC 6.2.1 20160901 (Red Hat 6.2.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> L=['good','boy','!'] >>&…
name_list=["张无忌","张三丰","张小明","胡歌","夏东海"] #循环输出name_list的列表项: def seeall(name_list): for index in range(len(name_list)): print(name_list[index]) print("===================================") #增加…