Certified Entry-Level Python Programmer (PCEP-30-02) — Question 64

Which of the following expressions evaluate to zero? (Choose two.)

Answer options

Correct answer: A, C

Explanation

Option A evaluates to zero because the negative multiplication and addition cancel out. Option C also results in zero due to the integer division and subtraction leading to a net result of zero. The other options do not simplify to zero as they produce different numerical results.