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
The expression int(x) implies that the variable x is converted to integer.
The value of the expressions 4/(3*(2 - 1)) and 4/3*(2 - 1) is the same.
The expression 2**2**3 is evaluated as: (2**2)**3.
A string can be surrounded by three sets of single quotation marks or by three sets of double quotation marks.