Python type as a string
<p>I'm attempting to display a string that provides the type of a given variable.</p>

<p>When I try the following: </p>

<pre><code>'This is a '+str(type(somevariable))
</code></pre>

<p>the output is <code>"This is a &lt;type 'float'&gt;"</code>, instead of <code>"This is a float"</code>.  </p>

<p>How do I get the output I want?</p>
