بالضبط هذا هو
2 Likes
عمل جميل يا Souf
2 Likes
كيف ما افتهم لي
2 Likes
لم انتبه ان الاستاذ ياسر قد سبق له و ان فحص الكود و تناقش معك حوله
معذرة على تسرعي
بالتوفيق
2 Likes
بالتوفيق لنا جميعا
1 Like
print('Scholarship Programing')
def Apply() :
try:
age=input('enter your age : ')
age=int(age)
if age <= 15 :
print('You are to young')
elif age >= 25 :
print('You are to old')
else :
print('Welcom to Egypt Scholarship Programing')
except ValueError:
print('please enter your age')
Apply()
count=0
while count<=1000:
Apply()
count=count+1
1 Like
def apply():
age = input()
age = int(age)
if age < 18:
print('You are too young')
elif age > 22:
print('You are too old')
else:
print('Welcome to Egypt scholarship program')
apply()
apply()
apply()
apply()
apply()
2 Likes
عمل جميل يا Aseel.s
2 Likes
شكراا لك اخي
2 Likes
print('scholarship program') def apply(): age = input() # rest of code... if age < '18': print('You are too young') elif age > '22': print('You are too old') else: print('Welcome to Morocco scholarship program') count = 0 while count <= 5: apply() count +=1
2 Likes
عمل جميل سفيان
2 Likes
هذا بفضل الله اولا و بوجدكم افضل المدربين واجمل مجتمع
2 Likes
هذه المهمة الاإضافية @YaserAlnajjar
count=0
while count <1000:
count = count + 1
age=input()
age = int(age)
if age < 18:
print("You are too young")
elif age >= 18 and age <= 22:
print("Welcome to sudaness scholarship program")
else:
print("You are too old")
2 Likes
عمل ممتاز اسراء
ملاحظة بسيطة يفضل ان تضعي جملة للدالة input()
لتوضحي لليوزر مالذي يجب ادخاله
2 Likes