Why do I have to convert numbers into strings to get its location?
<p>Why will it not print out the position of a integer/float until I have converted it to a string?
example</p>

<pre><code>x = 123
print x[0] # error
</code></pre>

<p>To fix this I have to do</p>

<pre><code>x = 123
print str(x)[0]
</code></pre>

<p>But why do I have to make it into a string for it to work?</p>
