Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
generators solution in Clear category for Expand Intervals by David_Jones
def expand_intervals(items):
for first, last in items:
for number in range(first, last+1):
yield number
May 22, 2019
Comments: