Discuss / Python / 第一题可以用capitalize?

第一题可以用capitalize?

Topic source

come哦

#1 Created at ... [Delete] [Delete and Lock User]
在此插入代码

def normalize(name):

return name[0].upper()+name[1:].lower()

  • 1

Reply