When eval an equation does it follow the PEMDAS rules?

For example: 2.0-1.0-3.0*6.0+5.0*4.0 when evaluated equals 3.0 when evaluated by python. To me that doesn't seem correct, I get a much larger number than 3.0

When I evaluate in python eval("6/2*3") it should equal 1 but in python it equals 9.

So anyone give me an idea on how to get eval to follow the PEMDAS rules?

When eval an equation does it follow the PEMDAS rules?

For example: 2.0-1.0-3.0*6.0+5.0*4.0 when evaluated equals 3.0 when evaluated by python. To me that doesn't seem correct, I get a much larger number than 3.0

When I evaluate in python eval("6/2*3") it should equal 1 but in python it equals 9.

So anyone give me an idea on how to get eval to follow the PEMDAS rules?

It does follow PEMDAS rules.
Never doubt Python's adherence to math rules. 6/2*3 equals 9 on:

Python (Any Version)

My TI-89 Graphing Calculator

My Mental Math

:D
that is because PEMDAS works like this: P, E, M and D, A and S So according to PEMDAS: 6/2*3

is(6/2)*3

That's because multiplication and division are the same rank.

I would like to ask how can I adjust array.csv like this:
,,,-00.000146400000, 0.08000,
,,,-00.000146200000, 0.00000,
,,,-00.000146000000, 0.00000,
,,,-00.000145800000, 0.00000,

so I can have in first column -00.000146400000 ...

I have an assignment to output contents from a .txt file to html. I'm able to output the information from the .txt to the console but how would I output ...