有英文序列有英文名字序列 按照首字母大写 后续字母小写的规则规范输出该序列
lst=['maRRy','join','TOM','aliCE'] lst2=[] for i in lst: lst2.append(i.lower().capitalize()) print(lst2)