Answer the question
In order to leave comments, you need to log in
How to split an even list in half (only even and only odd elements)?
Hello. Started to study the prologue, ran into a problem. In order to learn how to program in prologue, you need to get the material, everything on the sites is outdated, there is nothing really. There is no normal description of work with lists anywhere. The task was to split the list into 3, only even and only odd elements of the original. The list is always even. Please tell me how to solve?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question