title: Python newline constant like C++ std::endl
body: <p>I am formatting a string (in magic method <code>__str__</code>) and I don't want to use a raw <code>&quot;\n&quot;</code> or <code>&quot;\r\n&quot;</code>.</p>
  <p>Does python have a cross-platform newline identifier like <a href="https://www.cplusplus.com/reference/ostream/endl/" rel="nofollow noreferrer"><code>std::endl</code></a> in C++?</p>
  <p>I tried to Google it, but couldn't find an answer.</p>