(Jul-31-2021, 02:05 PM)ndc85430 Wrote: I don't mean code at all. I mean describing the solution to the problem in plain human words (whether English, or whatever your language is). Imagine you're explaining to a 5 year old how to solve this problem (or any problem really).
but how will i explain the solution if i dont know how to code it.
or you mean like that:
you make a list >>> you make a new list and take only the even index of the list >> you add to the new list the last index of the old list >> to the last index you add before "and" >>> for example: 1 2 3 4 5 6 >>> old: 1 2 3 4 5 6, new: 1 3 5 >> new with "and": 1, 3, 5, and 6.