Question

Write a function that generates the list of numbers from the range string?

Login to Submit

Examples

Input: "1-5"
Output: [1, 2, 3, 4, 5]