def get_license_id():
    license_id = int(input(get_license_prompt()))
    while license_id < 1 or license_id > len(licenses):
        print("Please enter a value between 1-%d" % len(licenses))
        license_id = int(input(get_license_prompt()))
    return license_id
dataset/ETHPy150Open databricks/spark-package-cmd-tool/python/spark_package/spark_package.py/get_license_id/original