This blog is available for sale. More than 150 published articles. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same. State whether true or false.
Explanation: Although the presence of parenthesis does affect the order of precedence, in the case shown above, it is not making a difference. The result of both of these expressions is 1.333333333. Hence the statement is true.
© 2022-2023 Python Circle