def setup():
name = ["Mum" , "Teng" , "Nong" , "Tukky"]
height = [161,175,177,155]
weight = [62,49,86,71]
age = [25,18,52,43]
i = 0
count = 0
while(i<len(weight)):
if(weight[i]<50):
count = count+1
print(name[i]," = ",weight[i],"kg.")
i = i+1
print("Total student weight<50 =",count)
setup()
ไม่มีความคิดเห็น:
แสดงความคิดเห็น