CBSE Class 12 Computer Science Question 38 of 105

Python Revision Tour — Question 2

Back to all questions
2
Question

Question 2

The value of the expressions 4/(3*(2 - 1)) and 4/3*(2 - 1) is the same.

Answer

True

Reason — Parentheses has first precedence then multiplication then division has precedence.

4/(3*(2-1))
= 4/(3*1)
= 4/3
= 1.33333

4/3*(2-1)
= 4/3*1
= 4/3
= 1.33333