Discuss / Python / 第一题

第一题

Topic source

Lyuynn

#1 Created at ... [Delete] [Delete and Lock User]

-- coding: utf-8 --

def normalize(name):

def fn(s):
    S=s.lower()

    return S.capitalize()

return list(map(fn,name))
print(list(map(fn,name)))

  • 1

Reply