from typing import List


def show_menu_items(menu_items: List[str]) -> List[int]:
    """Helper function to display menu choices"""
    if not menu_items:
        raise ValueError("Menu items must exist.")

    for index, selection in enumerate(menu_items):
        print(f"[{index}]", selection)
    print()

    return list(range(len(menu_items)))