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

A list of squares · ⁨قائمة المربعات⁩

English

A list of squares

Build a list one item at a time instead of printing each value.

squares.append(x) adds x to the end of the list. Printing a whole list shows it in square brackets, with commas between the items.

العربية

قائمة من المربعات

بني قائمة عنصرًا تلو الآخر بدلاً من طباعة كل قيمة.

يضيف squares.append(x) x إلى نهاية القائمة. طباعة قائمة كاملة تظهرها بين قوسين مربعين، مع فواصل بين العناصر.

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

IGCSE, A-Level & AP