KnowledgeBoat Logo
|

Computer Science

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

Python Funda

10 Likes

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

Answered By

4 Likes


Related Questions