def pull(cards, card):
    """
    Pulls the a card from a hand and returns the new hand.

    Example:
    > pull([4,5,6,7,8], 6)
    [4,5,7,8]
    """
    rest = cards[:]
    rest.remove(card)
    return rest