names = ['adam', 'LISA', 'barT'] list(map(lambda s:s[0].upper()+s[1:].lower(),names))
Sign in to make a reply
张青松zhqs