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

后端 未结 0 2027
感动是毒
感动是毒 2020-11-21 11:27

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题