# -*- coding:utf-8 -*-def func(*args,**kwargs): for n in range(0,len(names)): name=names[n] gender=genders[n] age=ages[n] print('names:{},genders:{},ages:{}'.format(name,gender,age)) return names=['赵','钱','孙','李']genders=['male','male','female','male']ages=[20,21,37,67]func(names,genders,ages)