# Define a list my_list = [10, 20, 30, 40, 20] # Find the index of the first occurrence of 20 index = my_list.index(20) print(f"Index of 20: {index}")