name = ['fizz','talon','vayny']
iD = [10161,10164,10163]
age = [10,20,30]
weight = [ 70 , 60 ,50 ]
hight = [180 , 190 ,140 ]
displayStudentRecords(name,iD,age,weight,hight)
def displayStudentRecords(name,iD,age,weight,hight):
i = 0
while ( i < len(name)):
print ("###########################")
print ("ID . ",iD[i])
print ("name is ",name[i])
print ("age is ",age[i])
print ("weight is ",weight[i])
print ("hight is ",hight[i])
i= i+1
setup()
########################### ID . 10161 name is fizz age is 10 weight is 70 hight is 180 ########################### ID . 10164 name is talon age is 20 weight is 60 hight is 190 ########################### ID . 10163 name is vayny age is 30 weight is 50 hight is 140
ไม่มีความคิดเห็น:
แสดงความคิดเห็น