有英文名字序列按规则规范该序列

img

a = ['maRRy', 'john', 'TOM', 'aliCE']

print(list(map(lambda x: x.title(), a)))