def BigWrite(aa): if type(aa) == str: x = (aa[0:1]).upper() y = (aa[1:]).lower() return x+y else: print("参数类型不正确")ceshi = list(map(BigWrite,["adam","LISA", "barT"]))print(ceshi)
Sign in to make a reply
bug管理员