Error while printing a string at the console
<pre><code>for i in table.keys():
if table[i]==18798965:
    first=i
if table[i]==12738624:
    second=i
&gt;&gt;&gt; print ("the encyrpted word is: %s%s") %(first,second);

the encyrpted word is: %s%s
Traceback (most recent call last):
File "&lt;pyshell#31&gt;", line 1, in &lt;module&gt;
print ("the encyrpted word is: %s%s") %(first,second);
TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'
</code></pre>

<p>I think that the version of python at university is different than the one i'm using at home.</p>

<p>Can anybody help me with this error?</p>
