nerdexam
Python_Institute

PCEP-30-02 · Question #154

PCEP-30-02 Question #154: Real Exam Question with Answer & Explanation

The correct answer is C. The code is erroneous.. See the full explanation below for the reasoning.

Question

What is the expected output of the following code?
num = 2 + 3 * 5
print(Num)

Options

  • A25
  • B17.0
  • CThe code is erroneous.
  • D17

Community Discussion

No community discussion yet for this question.

Full PCEP-30-02 Practice