#!/usr/bin/env python3
''' Description: Write a function named index_range that takes two integer
                 arguments page and page_size.

                 The function should return a tuple of size two containing
                 a start index and an end index corresponding to the range
                 of indexes to return in a list for those particular
                 pagination parameters.

    Page numbers are 1-indexed, i.e. the first page is page 1.
'''

from typing import Tuple


def index_range(page: int, page_size: int) -> Tuple[int, int]:
    ''' Return tuple containing pagination start index and end index. '''
    return ((page_size * (page - 1)), page_size * page)

0f93ef4697d1034dc0601340216afbea1897b686
<mask token>

<mask token>


def index_range(page: int, page_size: int) ->Tuple[int, int]:
    """ Return tuple containing pagination start index and end index. """
    return page_size * (page - 1), page_size * page

<mask token>
from typing import Tuple


def index_range(page: int, page_size: int) ->Tuple[int, int]:
    """ Return tuple containing pagination start index and end index. """
    return page_size * (page - 1), page_size * page

#!/usr/bin/env python3
''' Description: Write a function named index_range that takes two integer
                 arguments page and page_size.

                 The function should return a tuple of size two containing
                 a start index and an end index corresponding to the range
                 of indexes to return in a list for those particular
                 pagination parameters.

    Page numbers are 1-indexed, i.e. the first page is page 1.
'''

from typing import Tuple


def index_range(page: int, page_size: int) -> Tuple[int, int]:
    ''' Return tuple containing pagination start index and end index. '''
    return ((page_size * (page - 1)), page_size * page)
