def show_hands():
    '''Shows how many cards everyone has.

    Variable "players" keeps track of how many people are still in play.
    The loop goes through the hands of all those still playing and displays how many cards they have.
    If only one player has cards, then the game is over.'''
    players = 0
    print
    for player in range(len(names)):
        if len(hands[player]) > 0:
            players += 1
            print names[player] + ' has ' + str(len(hands[player])) + ' cards.'
    if players == 1:
        return False
    else:
        return True
Shows how many cards everyone has.

    Variable "players" keeps track of how many people are still in play.
    The loop goes through the hands of all those still playing and displays how many cards they have.
    If only one player has cards, then the game is over.
recipes/Python/440621_War_Game_Version_1/recipe-440621.py