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) # TrueOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
بەراوردە زنجیرەییەکە، بەراوردێکی زنجیرەیی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Built on the registry's comparison-operator (کارپێکەری بەراوردکردن): comparisons joined in a chain (زنجیرە). Proposed.