'''simple docstring'''
from __future__ import annotations







def  _UpperCamelCase (     _a	:	int				,     _a	:	int			):




    """simple docstring"""



    __UpperCamelCase	:	list[list[int]]		    =  []
    create_all_state(1				,     _a				,     _a				,     []				,     _a			)
    return result







def  _UpperCamelCase (     _a	:	int				,     _a	:	int				,     _a	:	int				,     _a	:	list[int]				,     _a	:	list[list[int]]				,     ):




    """simple docstring"""



    if level == 0:
        total_list.append(current_list[:]			)
        return

    for i in range(_a				,     total_number - level + 2			):
        current_list.append(_a			)
        create_all_state(i + 1				,     _a				,     level - 1				,     _a				,     _a			)
        current_list.pop()







def  _UpperCamelCase (     _a	:	list[list[int]]			):




    """simple docstring"""



    for i in total_list:
        print(*_a			)


if __name__ == "__main__":
  a      =  4
  a      =  2
  a      =  generate_all_combinations(n, k)
  print_all_state(total_list)




'''simple docstring'''
from urllib.parse import quote

import pytest

from datasets.utils.hub import hf_hub_url







@pytest.mark.parametrize('repo_id'				,     ['canonical_dataset_name', 'org-name/dataset-name']			)
@pytest.mark.parametrize('path'				,     ['filename.csv', 'filename with blanks.csv']			)
@pytest.mark.parametrize('revision'				,     [None, 'v2']			)
def  _UpperCamelCase (     _a	:	Any				,     _a	:	int				,     _a	:	Dict			):




    """simple docstring"""



    __UpperCamelCase	:	List[Any]		    =  hf_hub_url(repo_id=_a				,     path=_a				,     revision=_a			)
    assert url == f"""https://huggingface.co/datasets/{repo_id}/resolve/{revision or 'main'}/{quote(_a			)}"""



