CBSE Class 12 Computer Science Question 39 of 105

Python Revision Tour — Question 3

Back to all questions
3
Question

Question 3

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

Answer

False

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

4/(3*(4-2))
= 4/(3*2)
= 4/6
= 0.6666

4/3*(4-2)
= 4/3*2
= 1.3333*2
= 2.6666