Question

Write a function to generate sequence from 1 to given number in a list?

Login to Submit

Examples

Input: 2
Output: [1, 2]

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