Discuss / Python / 前两道题

前两道题

Topic source

ClearIight

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

第一题


def normalize(name):
return str.lower(name).capitalize()

第二题


def prod(L):
return reduce(lambda x, y: x * y, L)


  • 1

Reply