Question d’entretien chez Jio

Write a Python function to find the most frequent element in a list.