python中修改列表中的每一项元素

原列表    names = ['Ann', 'Bob', 'Cindy']python 新列表   new_names =  ['the great Ann', 'the great Bob', 'the great Cindy']app 代码以下:code def make_great(names): # 对原列表进行遍历 while names: # 对每个列
相关文章
相关标签/搜索