list, then why are you returning a String ("no positive numbers")? If there is no positive elements, why not just returning an empty list?
No an empty list would be nice if I was returning 'only positive elements from the given list' isn't it?
Обсуждают сегодня