QuestionQ200

VerifiedComputer Programming and Python Fundamentals

Which of these expressions evaluates to a non-zero result?

Choose two
Explanation

Exponentiation has higher precedence than multiplication, division, and floor division. The non-zero evaluations are (4 / 2^3 - 2 = -1.5) and (2^3 / 4 - 1 = 1).

Community Discussion

No comments yet. Be the first to start the discussion!