float required?? Error with round() in Python
<p>could not find this question answered by search. I am trying to learn some Python and need your help this this function:</p>

<pre><code>def roundtest():
    i = round(raw_input("call a number: "), 2)
    print i
</code></pre>

<p>My input &amp; the error I get:</p>

<pre><code>call a number: 1.2222

TypeError: a float is required
</code></pre>

<p>Thank you for your help</p>