Unsupported operand type(s) for %: 'NoneType' and 'tuple'
<p>I am getting this error:</p>

<blockquote>
  <p>TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'</p>
</blockquote>

<p>What do I need to change to fix this?</p>

<pre><code>string_1 = "Sean";
string_2 = "beginner programmer";

print("Hi my name is %s, I\'m a %s.") % (string_1,string_2);
</code></pre>

<p><code>print</code> returns <code>None</code>, you must format the string <em>before</em> printing it</p>

<pre><code>print("Hi my name is %s, I\'m a %s." % (string_1, string_2))
</code></pre>

python