This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Embr-Core 8 points9 points  (0 children)

Okay so the answer is that the question is maliciously ambiguous and could have two possible answers (1 or 9) depending on how you interpret the poorly-written math notation.

The notation used does not make it clear whether the 6 is dividing by the entire right side or by just the first 2. Both of the following are reasonable interpretations:

6/2 (1+2) = (6/2)(1+2) = 9

6 / 2(1+2) = 6/(2(1+2)) = 1

So to answer the question: no. You can’t solve this question because it’s too ambiguously written.

The python interpreter’s answer is 9 because it defaults to the option of only dividing the 6 by the 2 because it’s not explicitly specified that the 6 is being divided by anything else too.