The bigger number · الرقم الأكبر
The bigger number
a is 8 and b is 15. Store the bigger of the two in biggest. Do not use max.
A branch can set a variable, not only print. Give biggest a value on both paths, or one path leaves it undefined and Python says NameError.
العدد الأكبر
a هو 8 وb هو 15. احفظ الأكبر بين الاثنين في biggest. لا تستخدم max.
يمكن للفروع تعيين متغير، وليس فقط الطباعة. امنح biggest قيمة على كلا المسارين، أو يترك أحد المساراته غير معرف وتقول بايثون NameError.
a is 8 and b is 15. Store the bigger of the two in biggest. Do not use max. · a هو 8 وb هو 15. احفظ الأكبر بين الاثنين في biggest. لا تستخدم max.
Click Run to see the output here. · اضغط تشغيل لرؤية المخرجات هنا.