Новая Школа - онлайн-школа подготовки к ЕГЭ
Задача Задача №3623389
А
Аноним
18 июня 2026 14:01 · публичный вопрос
А
Аноним

-1 OR 3*2>999

Ответ нейросети
18 июня 2026 14:01

Short answer (assuming standard boolean logic): True.

Why:

  • 3*2 > 999 evaluates to 6 > 999, which is False.
  • -1 is nonzero, so it is considered True in typical boolean logic.
  • True OR False is True.

But note: how this evaluates can depend on the language:

  • Python:

    • Expression: -1 or (3*2 > 999) -> -1 (because -1 is truthy and or returns the first truthy value)
    • If you want a boolean result: bool(-1 or (3*2 > 999)) -> True
  • C/C++ (with ||):

    • (-1 || (3*2 > 999)) -> 1 (true), because -1 is nonzero and || yields 1 for true
  • In plain math/logic terms: True OR False = True

If you tell me the language or context (Python, C, logic exercise, etc.), I can give the exact evaluation in that setting.