创建列表friends_list

friends_list = ['Niu Ke Le', 'Niumei', 'Niuneng', 'GOLO']

创建replace函数

def replace(friends_list, index):
    friends_list[index] = index

打印信息并进行替换操作

print(friends_list)
for i in range(len(friends_list)):
    replace(friends_list, i)
print(friends_list)