Consider the following functions:
def get_number_of_duplicates(data, item): “””Returns the number of times a given item appears in the list””” duplicates = 0 for element in data: if item == element: duplicates += 1 return duplicatesdef max_duplicates_in_list(data): “””Returns the maximum number of items that are repeated in the list””” max_duplicates = 0 for element in data:
PayPal Gateway not configured
PayPal Gateway not configured