My Python items aren't adding to the list, len isn't changing after recalling
<p>Alright, I'm making a game of sorts... I've done it with append as well -_- </p>

<p>When I call back and add the next item(i.e. #2 after doing #1) I get just that item in the print out...</p>

<p>such as this:</p>



<pre class="lang-none prettyprint-override"><code>&gt;  1
You put your Hatchet into the bag
Press enter to add more items
['Hatchet']
&gt;  
&gt;  2
You put your Toothbrush into the bag
Press enter to add more items
['Toothbrush']
</code></pre>

<p>I'd like for the bag to get more items in it and once the bag reaches three items it takes me to the next 'level'.  I can't seem to add the items to the bag and keep them in the bag and then monitor the growing len(bag).  If I call back the len(bag) it's always stuck back on 1.  Is this because of the 'return' function I'm using? or is it something else? I figure I can try coding so that it goes into a new list with new bag after entering one item(seems like a ton of excessive code, but would work).  I'm also pretty confident there is tons of excessive code in this script, I'm extremely new to Python and am doing an assignment/exercise from a book.  I appreciate the help in advance!!</p>

<pre><code>def beginning():
    print 'Hello'

def func():
    firstitem=raw_input("&gt;  ")
    bag=[]
    limit=len(bag)
    a="Hatchet"
    b="Toothbrush"
    c="Map"

    if firstitem=="1":
        bag.insert(1, 'Hatchet')
        print 'You put your %s into the bag' % a
        print 'Press enter to add more items'
        print bag
        limit=len(bag)
        if limit == int(3):
            beginning()
        item=raw_input("&gt;  ")
        return func()
    if firstitem=="2":
        bag.insert(2, 'Toothbrush')
        print 'You put your %s into the bag' % b
        print 'Press enter to add more items'
        print bag
        limit=len(bag)
        if limit == int(3):
            beginning()
        item=raw_input("&gt;  ")
        return func()
    if firstitem=="3":
        bag.insert(3, 'Map')
        print 'You put your %s into the bag' % c
        print 'Press enter to add more items'
        print bag
        limit=len(bag)

    if limit == int(3):
            beginning()
        item=raw_input("&gt;  ")
        return func()
</code></pre>

<p>OK so if I make the new func. is that under the existing one? or complete new?</p>
