معالجة العديد من الطلبات مع العمل الاضافي
def apply():
age = int(input())
# to make conditions more flixable
def conditions():
if age < 18 :
#some explainations
print('your age is: ',age,' so You are too young for this scholarship ')
elif age <= 22 :
print('your age is: ',age,'Great.., Welcome To Yemen scholarship Program !')
else: #any Age that bigger than 22 is not allowed !! so..
print('your age is: ',age,' so You are too old for this scholarship')
conditions()
#loop for shorting the code
count = 0
while count < 1000:
apply()
count = count + 1