1. Glossaryفەرهەنگی زاراوەکان
Loop variable
گۆڕاوی خول
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

The that a for loop gives a new value on each , like i in for i in range(1, 11):. In Python it still exists after the loop and keeps its last value.

ئەو کە لە هەر نرخێکی نوێی پێ دەدات، وەک i لە for i in range(1, 11):ـدا. لە Pythonـدا دوای هێشتا ماوە و دوایین نرخی خۆی دەپارێزێت.

Exampleنموونە

After the loop, i is still 2 and square is still 4.

دوای ، i هێشتا 2ـە و square هێشتا 4ـە.

for i in range(3):
    square = i * i
print(i, square)   # 2 4

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

گۆڕاوی خولەکە، گۆڕاوەکانی خول، گۆڕاوێکی خول

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Built on the registry's variable (گۆڕاو) and loop (خول). The lecturer's textbook calls it a control variable. Proposed.

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

Python For Loops - Visually ExplainedVisually Explained · Englishئینگلیزی · 60K viewsبینین · 2.4K likesلایک · Partبەشی 1:07–4:44 (ofلە 8:08)

The parts of a for loop: the loop variable gets each item in turn, and the indented loop body runs once for every item.

بەشەکانی : یەک لە دوای یەک هەموو وەردەگرێت و ، کە بە نووسراوە، بۆ هەر جارێک جێبەجێ دەبێت.

Learn more inزیاتر فێربە لە