How to iterate through two list in python

Advertisements I have 2 list, which i would like to iterate through and capture the selection/input from user. list1 = [‘E1’, ‘E2’, ‘E3’] list2 = [‘api1’, ‘api2’, ‘api3’, ‘api4’] def display_option(options): for env_option, type in enumerate(options,1): print("\t{}. {}".format(env_option, type)) def select_option_from_list_of_values(item): while True: print("this option available for selection:") display_option(item) print("\n") option = input("Please enter the… Read More How to iterate through two list in python