Skip to content · ⁨الانتقال إلى المحتوى⁩

Write one yourself · ⁨اكتب واحدة بنفسك⁩

English

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 في كل مسار. يجب أن يُرجع كل مسار شيئاً ما.

Log in or create account · ⁨تسجيل الدخول أو إنشاء حساب⁩

IGCSE, A-Level & AP