返回列表 發帖
for i,j in zip(list1,list2):
    print('五年',i,'班有',j,'人',sep = '')

TOP

list1=["忠","孝","仁","愛","信","義","和","平"]
list2=[28,27,27,26,28,29,30,27]
list3=[93,95,92,89,97,90,91,93]

for i,j,k in zip(list1,list2,list3):
    print('五年',i,'班有',j,'人,班上月考平均成績是',k,'分',sep = '')

TOP

返回列表