Discuss / Python / 做作业1

做作业1

Topic source

bug管理员

#1 Created at ... [Delete] [Delete and Lock User]
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)

  • 1

Reply