# Define a list my_list = [10, 20, 30, 40, 20] # Count the occurrences of 20 count = my_list.count(20) print(f"Count of 20: {count}")