KnowledgeBoat Logo

Computer Science

What will be the value of the expression?
    14 + 13 % 15

  1. 14
  2. 27
  3. 12
  4. 0

Python Funda

6 Likes

Answer

27

Reason — According to operator precedence remainder (%) operation will be done first and then addition (+) will be done.

14 + 13 % 15
= 14 + 13
= 27

Answered By

1 Like


Related Questions