小明,10岁,男,上山去砍柴(Xiao Ming, 10 years old, male, went up the mountain to cut firewood)

name = [‘小明’, ‘老李’]age = [’10岁’, ’90岁’]sex = [‘男’]activity = [“上山去砍柴”, “开车去东北”, “最爱打游戏”]

def func(a,b,c): print(“{},{},{},{}”.format(name[a],age[b],sex[0],activity[c]))

for i in range(3): func(0,0,i)print(“”)for i in range(3): func(1,1,i)

————————

Name = [‘Xiao Ming’, ‘Lao Li’] age = [’10 years old’, ’90 years old’] sex = [‘male’] activity = [“go up the mountain to cut firewood”, “drive to the northeast”, “love playing games”]

def func(a,b,c): print(“{},{},{},{}”.format(name[a],age[b],sex[0],activity[c]))

for i in range(3): func(0,0,i)print(“”)for i in range(3): func(1,1,i)