If you put it into the python command line as 48 / 2 * (9 + 3) you get 288, which is exactly what I would expect, since you do parenthesis first, then multiply or divide in order from left to right. .
I said it before, and I'll say it again, you did this:
48 / 2
* (9 + 3)
The OP did this:
48 / 2 (9 + 3)
There is a big difference. I don't have Python, but every other math program I have spits out undefined or mentions an error. The error is the lack of the multiplication sign. 2 and 288 are both wrong because that isn't a formula that you can evaluate.
This isn't an order of operations issue. It is a lack of properly defined operations issue. There is no order when the equation isn't an equation. Those giving an answer are as wrong as those giving the "incorrect" answer.
* Excel says "Microsoft Excel found an error in the formula you entered".
* Matlab says "Unbalanced or unexpected parenthesis or bracket".
* Google converts it to an equation it can handle in some cases, but it doesn't in most cases. For example Google won't work if you do this: "2 (12) ="
* MathCad says "This variable or function is not defined above".
* Visual Basic says "Compile error: Expected: end of statement".