[Solved] Math brackets in python? [closed]


You don’t need “math” brackets — just use nested parentheses. Humans use [] in writing out complex math expressions to make them more readable to other humans, but this isn’t necessary. They don’t mean anything different than regular parentheses. So, when writing code, just stick to the parentheses.

solved Math brackets in python? [closed]