How to return values with serial, nested conditions of a list?

前端 未结 0 1697
被撕碎了的回忆
被撕碎了的回忆 2020-12-29 21:40

I\'m trying to implement an algorithm in a boolean list. It looks like:

price_list = [0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1]

L

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