def name(s): ... return s.lower().title() ... L = ["adam","LISA","barT"] list(map(name,L)) ['Adam', 'Lisa', 'Bart']
Sign in to make a reply
YcanJ