Задача Задача №3622585
А
А
Short answer (language-dependent):
If you’re using Python (or JavaScript-style short-circuit OR): -1 or (3*2 > 5)
- 3*2 > 5 is True
- -1 is truthy, so the OR returns the left operand: -1
- Result value: -1 (truthy)
If you’re in a C/C++-style setting with logical OR (which yields 1 or 0): the left operand -1 is nonzero (true), so the whole expression is true, i.e., 1.
Notes:
- In many languages, -1 is considered truthy.
- If you only want a boolean result, it’s True in Python/JS semantics, but the actual value depends on the language’s OR behavior.
