到底哪里错了,找不到,求助大佬
def info(**kwargs): names = kwargs('names') gender = kwargs('gender') age = kwargs('age') num = 0 for o in names: print (o) print gender[num] print age[num] num += 1 info(names = ['Alice','Bob'],gender = ['girl','boy'],age = [12,9])
def info(**kwargs): names = kwargs('names') gender = kwargs('gender') age = kwargs('age') num = 0 for o in names: print (o) print gender[num] print age[num] num += 1 info(names = ['Alice','Bob'],gender = ['girl','boy'],age = [12,9])
2022-10-29
举报