# Define a list my_list = [10, 20, 30, 40, 20] # Remove the first occurrence of 20 my_list.remove(20) print(f"List after removing 20: {my_list}")