Hi!
I want to remove elements in a list, that fulfill certain criteria. That is, in a list, I want to be able to remove all integers that are divisible by a given number N, which I like to give as input. In the example below N = 2.
listDivByN([1,2,3,4,5], 2, List).
should result in:
List =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.