Create a recursive function that takes a list of integers, and returns a new list of all the integers that are 100 or greater in a row

So if you have a list of [8, 20, 200, 500, 3, 100], the function should return [200, 200, 500, 500, 100, 100].

Read more here:

Content Attribution

This content was originally published by Natch at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: