Write one yourself · اكتب واحدة بنفسك
Write one yourself
Write biggest(a, b) that gives back the larger of the two numbers. Do not use max.
Now all three parts are yours: the def line with its two names, an if/else inside it, and a return on each path. Every path must return something.
اكتب واحدة بنفسك
اكتب biggest(a, b) تُرجع الأكبر من الرقمين. لا تستخدم max.
الآن جميع الأجزاء الثلاثة ملكك: سطر def بأسمائه الاثنين، وif/else بداخله، وreturn في كل مسار. يجب أن يُرجع كل مسار شيئاً ما.
Write biggest(a, b) that gives back the larger of the two numbers. Do not use max. · اكتب biggest(a, b) تُرجع الأكبر من الرقمين. لا تستخدم max.
Click Run to see the output here. · اضغط تشغيل لرؤية المخرجات هنا.