def skip_punishment(player, table, lied_card=None, turns_to_wait=0):
    """
    Function used to punish player with turns to skip.
    :param player: Player object
    :param table: list with cards on table
    :param lied_card: tuple with last lied card
    :param turns_to_wait: integer value of take card punishment
    :return: tuple with last lied card, integer value of turns to skip
    """
    player.turns_to_skip = turns_to_wait - 1
    player.print_foo(f'{player.name} will have to skip this and next {player.turns_to_skip} turns.')
    turns_to_wait = 0
    if lied_card:
        table.append(lied_card)
    lied_card = None

    return lied_card, turns_to_wait