Python Forum

Full Version: Invalid syntax
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
$\sum_{i=1}^n X_i(Y_i-\overline{Y})$ = $\sum_{i=1}^n (X_i-\overline{X})(Y_i\overline{Y})$

Dear members of the forum, I am trying to put this formula on python, I am copying exactly like the professor is writing and is giving me error.
Thank you.
That's not python code, it looks like LaTeX.