(inventory)
Displays how much of what a player has in inventory
        
    Args:
        inventory (dict): Inventory containing items and their counts

    Returns: 
        None
Displays how much of what a player has in inventory
        
    Args:
        inventory (dict): Inventory containing items and their counts
Displays how much of what a player has in inventory Args : inventory ( dict ) : Inventory containing items and their counts
def displayInventory(inventory):
    """ Displays how much of what a player has in inventory
        
    Args:
        inventory (dict): Inventory containing items and their counts

    Returns: 
        None
    """
    print("Inventory:")
    item_total = 0

    for k, v in inventory.items():
        print(v, ' ', k)
        item_total += v

    print("Total number of items: " + str(item_total))
def displayInventory ( inventory ) : print ( "Inventory:" ) item_total = 0 for k , v in inventory . items ( ) : print ( v , ' ' , k ) item_total += v print ( "Total number of items: " + str ( item_total ) )