Is there a standard Python data structure that keeps things in sorted order?

前端 未结 0 654
萌比男神i
萌比男神i 2021-02-11 18:39

I have a set of ranges that might look something like this:

[(0, 100), (150, 220), (500, 1000)]

I would then add a range, say (250, 400)<

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