Relation operator -> Taqqoslash operatori.
Natija xar doim True
yoki False
qaytaradi.
True = 1, False = 0.
< - kichik
<= - kichik yoki teng
- katta = - katta yoki teng
Logical operator
&& (and) - va
|| (or) - yoki
! (not) - yo'q
! (not) - yo'q
True - False
! False - True
Conditional operator
2 ta operand qismidan iborat.
Syntax
of Ternary
operator.
Top comments (0)