0 out of 68 challenges solved

**Question:**

Write a function called `count_element_frequency`

that takes a list as input and returns a dictionary containing the frequency of each element in the list. Use a for loop with `Counter`

from the `collections`

module to perform the counting.

**Example:**

Input: [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]

Output: {1: 1, 2: 2, 3: 3, 4: 4}

from collections import Counter def count_element_frequency(lst): """ Counts the frequency of each element in the given list. Args: lst (list): The input list. Returns: dict: A dictionary containing the frequency of each element. """ # TODO: Implement the count_element_frequency function pass

- Count the number of odd numbers in a given list
- Count the number of vowels in a given string
- Find numbers that are divisible by 3 but not a multiple of 7
- Calculate the exponential power of the given number
- Calculate the factorial of the given number
- Double each number in a list
- Sort students by age
- Order a list of strings in alphabetical order
- Multiply each element in a list by its index
- Calculate the product of all elements in the given list
- Calculate the square root of each element in the given list
- Reverse characters in a string
- Calculate the sum of squares of all elements in the given list