Create new line in a python string that does NOT effect output?
<p>is it possible to create a new line in a string in one's python code that does NOT effect output?</p>

<p>Like:</p>

<pre><code>print "This
is
my
string"
</code></pre>

<p>But the output when the program is run would just be "This is my string"</p>

<p>Just for purposes of formatting the program in a more readable way for very long strings.</p>

<p>You could use implicit string joining too:</p>

<pre><code>print("this "
      "is "
      "my "
      "string")
</code></pre>

python python-2.7