Robotics & Artificial Intelligence

The output of the expression print(5 * (3 + 2)) is:

  1. 15
  2. 25
  3. 10
  4. 20

Getting Started

3 Likes

Answer

25

Reason — According to operator precedence:

= 5 * (3 + 2)
= 5 * 5
= 25

Answered By

1 Like


Related Questions