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

Until they type stop · ⁨حتى يكتبون إيقاف⁩

English

Until they type stop

Keep reading words with input() and printing each one back, until the word is stop. Do not print stop itself.

The value the loop tests has to be read before the loop starts, and read again at the end of every turn — otherwise the same word is tested for ever. != means is not equal to.

العربية

حتى يكتبوا إيقاف

استمر في قراءة الكلمات مع input() وطباعة كل منها مجدداً، حتى تصبح الكلمة stop. لا تطبع stop نفسها.

يجب قراءة القيمة التي تختبرها الحلقة قبل بدء الحلقة، وقراءتها مرة أخرى في نهاية كل دورة — وإلا سيتم اختبار نفس الكلمة إلى الأبد. != تعني لا يساوي.

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

IGCSE, A-Level & AP