powered by
MapToInterval(nums, start = 1, stop = 10)
mapping
MapToInterval(1:10, start=0, stop=1) mapping(1:10, start=0, stop=1)
Run the code above in your browser using DataLab