1. Glossaryفەرهەنگی زاراوەکان
Chained comparison
بەراوردی زنجیرەیی
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

Several written one after another, as in maths: 5 <= a < 15 means 5 <= a and a < 15. Python allows it; Java and C# do not.

چەند کە لە دوای یەک دەنووسرێن، وەک بیرکاری: 5 <= a < 15 واتە 5 <= a and a < 15. Python ڕێگەی پێ دەدات؛ Java و ⁦C#⁩ نا.

Exampleنموونە

One line tests whether an age is in the teens.

یەک دێڕ دەپشکنێت ئایا تەمەنێک لە نێوان ⁦13⁩ و ⁦19⁩دایە.

age = 17
print(13 <= age <= 19)   # True

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

بەراوردە زنجیرەییەکە، بەراوردێکی زنجیرەیی

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

Built on the registry's comparison-operator (کارپێکەری بەراوردکردن): comparisons joined in a chain (زنجیرە). Proposed.

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

Videosڤیدیۆکان

Control Flow in Python - If Elif Else StatementsProgramming with Mosh · Englishئینگلیزی · 401K viewsبینین · 6.7K likesلایک · Partبەشی 12:36–14:00 (ofلە 16:08)

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