Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Just find bounds, Luke! solution in Clear category for Create Intervals by obone
def create_intervals(data):
return list(zip([a for a in sorted(data) if not a - 1 in data],
[b for b in sorted(data) if not b + 1 in data]))
June 13, 2019
Comments: