小明,10岁,男,上山去砍柴

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)

上一篇:Android中的内存泄漏原因分类及解决方式


下一篇:9次Android面试经验总结,已收字节,阿里,海量算法高频面试题精编解析