$$
\newcommand{\uex}{{u_{\small\mbox{e}}}}
\newcommand{\Aex}{{A_{\small\mbox{e}}}}
\newcommand{\half}{\frac{1}{2}}
\newcommand{\Oof}[1]{\mathcal{O}(#1)}
$$
Why implement in Python?
- Python has a very clean, readable syntax (often known as
"executable pseudo-code").
- Python code is very similar to MATLAB code (and MATLAB has a
particularly widespread use for scientific computing).
- Python is a full-fledged, very powerful programming language.
- Python is similar to, but much simpler to work with and
results in more reliable code than C++.