Здравствуйте
Нужна ваша помощь!
Задание: дан список простых чисел. Нужно сделать функцию, которая определит наименее часто встречающееся число. Нельзя использовать продвинутые методы, код должен быть самый базовый как у новичков.
Буду очень признателен любой помощи!!
Given a list of integers, where each integer may appear multiple times, we want to identify the least common integer in the list. If different integers have the same lowest frequency then the result is the one occurring latest in the list. For example, the least common integer in 3, 4, 4, 3 is 3.