Python If statements
<p>In my python program sometimes in my if statements only the top one works</p>

<p>here is my program
<a href="http://ubuntuone.com/0u2NxROueIm9oLW9uQVXra" rel="nofollow">http://ubuntuone.com/0u2NxROueIm9oLW9uQVXra</a></p>

<p>when you run the program if you go north east west south and then it doesn't work
the problem is in the function room4():</p>

<pre><code>def room4():
    """Forest go south to small town room 1 and east to forest path room8"""
    room = 4
    print "Forest you can go south to small town, east to forest path, or continue to explore the forest"
    cmd = raw_input('&gt; ') 
    cmd = cmd.lower()
    if cmd == "e" or cmd == "east" or "go east":
        print room8()
    if cmd == "s" or cmd == "south" or "go south":
        print room1()
    if cmd == "forest" or cmd == "explore" or cmd == "explore forest" or cmd == "explore the forest":
        print room13()
    else:
        print error()
        print room4()
</code></pre>
