Python Logical Operators များ
Python Logical Operators များ
အခြေအနေဆိုင်ရာ ထုတ်ပြန်ချက်များကို ပေါင်းစပ်ရန်အတွက် ယုတ္တိအော်ပရေတာများကို အသုံးပြုသည်-
Operator | Description | Example | Try it |
---|---|---|---|
and | Returns True if both statements are true | x < 5 and x < 10 | |
or | Returns True if one of the statements is true | x < 5 or x < 4 | |
not | Reverse the result, returns False if the result is true | not(x < 5 and x < 10) |