Changing str to int in Python
<p>I am new to python. I am trying to make a small elavator program.</p>

<p>The code: </p>

<pre><code>import time
elavator = True
# 0 is B floor // basement
elavatorFloors = [0,1,2,3,4,5]

while elavator == True:
    getLevel = input ("Which floor would you like to visit? ( 1 - 5) ")
    time.sleep(2)
    print "you're now at floor, " +int.getLevel
</code></pre>

<p>I get this error: AttributeError: type object 'int' has no attribute 'getLevel'
Aside from changing the str to int, am I using any bad technique? I really want to improve my programming thinking and code writing. Thank you :)</p>
