Computer Science

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

Python Funda

1 Like

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

Answered By

1 Like


Related Questions