Could someone please improve my code for me? (I'm a rookie) : <p>Just want a professionals view on this, thanks in advance if you edit this.
<em>(if you do)</em> I'd like this code to be focused on the same topic <em>(being a dungeon game.)</em> Thanks for even taking the time to look at this!</p>

<pre><code>import time 
    import random

    print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
    print("Text dungeon explorer!")
    print("COMMANDS:")
    print("inventory -- acceses your current inventory")
    print("hold 'item' -- hold selected item")
    print("attack -- attacks if enemy is approched")
    print("eat -- eats current item held")
    print("use -- uses item held")
    print("open -- opens any available chests in said room")
    print("pickup -- picks up any current items in said room")
    print("drop -- drops held item")
    print("throw -- throws held item")
    print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")

    time.sleep(3)

    print ("It's a dark in the dungeon, no food, no wepons. You don't even know where you are... There is an object on the floor, all you can make out of it is that it looks quite like a stick.")

    time.sleep(11)

    ch1 = str(input("Do you take it? [y/n]: "))

    if ch1 in ['y', 'Y', 'Yes', 'YES', 'yes']:
        print("You have taken the stick! A very odd feel to it.")
        time.sleep(2)
        backpack_stick = 1

    else:
          print ("You did not take the stick.")
          backpack_stick = 0

    print ("As you proceed further into the cave, you see a wooden door.")
    time.sleep(6)
    ch2 = str(input("Do you open the door? [y/n]"))

    enmysleep_rat = int(random.randomint(1, 10))
    enmychn_rat = int(random.randomint(1, 10))
    chstchnc = int(random.randomint(1, 10))
    if enmychn_rat == 1 or 2 or 3 or 4:
      enmychance_rat = True
      if enmychance_rat is True:
         print("Oh no! A musipial rat! You take a closer look if it is sleeping.")

    time.sleep(3)
             if enmychance_rat is True and
        enmysleep_rat = 1 or 2:

             print("The rat is sleeping! I could take the availible loot without fighting!")
    elif enmysleep_rat = 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10:
             print("The rat is not sleeping! Prepare for battle!")
</code></pre>
