def setup():
age = [35,19,18,20,19,31]
print(age)
print('Display the age that less than 30 years old')
show_age(age)
def show_age(age):
count = 0
find_age = 30
while(count<len(age)):
if(age[count]<find_age):
print(age[count])
count = count + 1
setup()
ไม่มีความคิดเห็น:
แสดงความคิดเห็น