• не работает:(.

Question related to mission Frequency Sorting

 
from collections.abc import Iterable


def frequency_sorting(numbers: list[int]) -> Iterable[int]:

    result = sorted(numbers,key=lambda x:numbers.count(x))

    return result