Though Pythons older than 2.5 are slowly drifting to history, here is a list of old pre-2.5 ternary operator tricks: "Python Idioms", search for the text 'Conditional expression'.
2.5 yaşından büyük olan Pytonlar yavaş yavaş tarihe sürükleniyor olsa da, eski 2.5 öncesi terner operatör numaralarının bir listesi: "Python Deyimler", 'Koşullu ifade' metnini arayın.
A conditional expression is used to check the condition.
From the second pop-up menu, select a conditional expression to compare the selected value in each record against the test value.
İkinci açılır menüde her kayıttaki seçilen değeri test değeriyle karşılaştırmak için koşullu bir ifade seçin.
as long as the specified conditional expression remains true.
Belirtilen koşul doğru olduğu müddetçe döngü devam etmektedir.
Not just any expression can be a conditional expression.
Another option often supported is the use of partial indices, where index entries are developed only for those records that please some conditional expression.
Bazen desteklenen başka bir seçenek, parçalı indekslemelerin kullanılmasıdır; buradaki dizin girdileri yalnızca bazı koşullu ifadeleri karşılayan kayıtlar için oluşturulmuştur.
an expression that is not part of another full-expression (such as the entire expression statement, controlling expression of a for/while loop, conditional expression of if/switch, the expression in a return statement, etc),
başka bir 'tam ifade'nin parçası olmayan bir ifade (bütün bir 'ifade deyimi', for/while döngü kontrol ifadesi, if/switch şartlı kontrol ifadesi veya return deyimindeki bir ifade vb.),
In this case, since 10 is less than 11, the conditional expression is true, and println() will execute.
Bu örnekte 10, 11 den küçük olduğu için koşul deyimi doğru olur ve WriteLine() gerçeklenir.