Count Grouped Elements | Challenge

# Introduction In Python, you can group elements of a list based on a given function. This can be useful when you want to count the number of occurrences of each group. In this challenge, you will be tasked with creating a function that groups the elements of a list based on a given function and returns the count of elements in each group.

|
60 : 00

Click the virtual machine below to start practicing