I'm wondering whether there's a more pythonic way to get an interval from a list knowing the beginning and ending values while only traversing the list once.I'm wondering whether there's a more pythonic w
I'm wondering whether there's a more pythonic way to get an interval from a list knowing the beginning and ending values while only traversing the list once.I'm wondering whether there's a more pythonic w