Create list of n integers 1-n


#1

Hi,

Let’s say i have a list with n items. List Count will return n.

Now I want to create a list of integers:
[0] 1

[n-1] n

How can i do this?

Many thanks in advance.


#2


Like this?
Edit: the image slightly


#3

Thanks a lot!


#4

You’re welcome.! :wink:


#5


#6


I realized this will do fine as well.