from typing import List


def print_csv_table(lst: List, print_row_num: bool = False,
                    prt: bool = True):
    """prints a csv table in a cleaner way"""

    string = ''

    if print_row_num:
        for i in range(len(lst)):
            string += f'{i} {lst[i]}'
    else:
        for i in range(len(lst)):
            string += f'{lst[i]}'

    if prt:
        print(string)

    return string