Discuss / Python / 第一题

第一题

Topic source
在此插入代码

def normalize(name): def f(a): return a[0].upper() + a[1:].lower() return map(f,name) L = list(normalize(['adam', 'LISA', 'barT'])) print(L)


  • 1

Reply