for loop
خولی for
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A loop that repeats once for each value in a range or collection. In PHP, Java and C# it has three parts — start, condition and step: for ($i = 0; $i < 10; $i++); Python's for goes through the items of a sequence: for i in range(10):.
کە بۆ هەر نرخێکی مەودایەک یان کۆکراوەیەک جارێک دووبارە دەبێتەوە. لە PHP، Java و C#ـدا سێ بەشی هەیە، سەرەتا، مەرج و هەنگاو: for ($i = 0; $i < 10; $i++)؛ forـی Python بەناو دانەکانی زنجیرەیەکدا دەڕوات: for i in range(10):.
Exampleنموونە
Prints the 3 times table.
خشتەی لێکدانی 3 دەنووسێت.
for ($i = 1; $i <= 10; $i++) {
echo "$i x 3 = " . ($i * 3) . "<br>";
}Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
لووپی for، خولەکەی for، خولەکانی for، خولێکی for
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Loops: while, do...while, for, foreach, break and continueخولەکان: while و do...while و for و foreach و break و continue
- The for Loop and range()خولی for و
range() - Multidimensional Arraysڕیزەکە فرەڕەهەندەکان
- Controlling Loops: break and continueکۆنترۆڵکردنی خولەکان:
breakوcontinue - for Loops: Sums, Series and Searchingخولەکانی for: کۆکردنەوە، زنجیرە و گەڕان
- Dart Basics: Variables, Types and Control Flowبنەماکانی Dart: گۆڕاوەکان، جۆرەکان و ڕێڕەوی کۆنترۆڵ
- Subscripts and Sigma (Σ) Notationژێرنووسەکان و نیشانەی سیگما (Σ)
- Python Next to JavaPython لە تەنیشت Javaـەوە
- Arrays in PHPڕیزەکەکان لە PHPـدا
- Reading and Writing Filesخوێندنەوە و نووسینی فایلەکان
- The while Loopخولی while
- while Loops, break and continueخولەکانی while، break و continue
- Working with Stringsکارکردن لەگەڵ زنجیرەنووسەکان
- Sorting Arraysڕیزکردنی ڕیزەکەکان
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Variable Scope: Local and Globalمەودای گۆڕاوەکان: ناوخۆیی و گشتی
- Lists: Creating and Indexingلیستەکان: دروستکردن و ئیندێکسەکان
- Tuples, Sets and Dictionariesتاپڵەکان، کۆمەڵەکان و فەرهەنگەکان
- Project: Finding Roots Numericallyپڕۆژە: دۆزینەوەی ڕەگ بە ڕێگە ژمارەییەکان
- Intervals and the Number Lineماوەکان و هێڵی ژمارەکان
- Product (Π) Notationنیشانەی پی (Π)
- Combinationsگونجێنەکان
- Errors and Debuggingهەڵەکان و کرمەکوژی
- Nested Loops and Patternsخولە ناوەکییەکان و کێشانی شێوە
- Recursionخۆبانگکردنەوە
- Adding to a List and Finding Itemsزیادکردن بۆ لیستێک و دۆزینەوەی دانەکان
- sum, max, min and Sortingsum، max، min و ڕیزکردن
- Making Decisions: Relational Operators and if / elseif / elseبڕیاردان: کارپێکەرەکانی بەراوردکردن و if / elseif / else
- Functionsکردارەکان
- Project: A Product Catalogue Screenپرۆژە: شاشەی کەتەلۆگی کاڵاکان
- Agent Programs, Pseudocode and Algorithm Analysisبەرنامەکانی ئەیجێنت، نیمچەکۆد و شیکارکردنی ئەلگۆریزم
- The Python You Need for the AI Labsئەو Pythonـەی بۆ تاقیگەکانی ژیریی دەستکرد پێویستە
- Minimax: An AI That Never LosesMinimax: یاریزانێکی ژیر کە هەرگیز نادۆڕێت