Perl, 19 bytes
Note: \x0b
is counted as one byte.
Along with others, I thought using cursor movements would be the shortest route, this does mean it doesn't work on TIO:
print"$_\x0b"for 1print"$_\x0b"for<>..<>
Usage
perl -e 'print"$_\x0b"for<>..<>' <<< '5
10'
5
6
7
8
9
10