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

Definitionپێناسە

Comparing two sequences the way a dictionary orders words: compare the first items; if they are equal, compare the second ones, and so on. Python compares strings, lists and tuples like this, using for letters, so "Mac" < "Mary".

بەراوردکردنی دوو بەو شێوەیەی فەرهەنگێک وشەکان ڕیز دەکات: یەکەم دانەکان بەراورد دەکرێن؛ ئەگەر یەکسان بوون دووەمەکان بەراورد دەکرێن و هتد. Python ، و بەم جۆرە بەراورد دەکات و بۆ پیتەکان بەکار دەهێنێت، بۆیە "Mac" < "Mary".

Exampleنموونە

M = M and a = a, then c (99) < r (114), so "Mac" comes first.

⁦M = M⁩ و ⁦a = a⁩، پاشان ⁦c (99) < r (114)⁩، بۆیە "Mac" پێشتر دێت.

print("Mac" < "Mary")        # True
print([1, 2, 3] < [1, 3])    # True: 2 < 3

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

ڕیزبەندیی ئەلفوبێیی

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

فەرهەنگی = of a dictionary: the order words have in a dictionary. Proposed.

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

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