# 3.用map来处理字符串列表,把列表中所有人都变成sb,比方alex_sb name=['alex','wupeiqi','yuanhao','nezha'] def func(item): return item+'_sb' ret = map(func,name) #ret是迭代器 for i in ret: print(i) print(list(i)) #['n', 'e', 'z', 'h', 'a', '_', 's', 'b'] print(list(ret)) #[] ret…