Python : TypeError: can't multiply sequence by non-int of type 'float'
<p>I am newbie programmer trying to make an irc bot that parse xml and paste its content on a channel. Usually i find my answer on google, but this time i can't find my answer.</p>

<pre><code>q0tag = dom.getElementsByTagName('hit')[0].toxml()
q0 = q0tag.replace('&lt;hit&gt;','').replace('&lt;/hit&gt;','')

q1 = (q0 * 1.2)
</code></pre>

<p>when i'm trying to multiply q0 it always showing </p>

<pre><code>TypeError: can't multiply sequence by non-int of type 'float'.
</code></pre>

<p>Im trying to make q0 int or float but it just make another error </p>

<pre><code>AttributeError: 'NoneType' object has no attribute 'replace'
</code></pre>

<p>q0 value is a round number without decimal.</p>
