Discuss / Python / question 1

question 1

Topic source

L1 = ['adam', 'LISA', 'barT']

L2 = list(map(lambda str:str[:1].upper()+str[1:].lower(), L1))

print(L2)


  • 1

Reply