I'm try to make a list of the values n,n+1,...2*n-1
for example if I have n=4 ==> [4,5,6,7]
I have managed to write this code but it shows the list of first n elements. Can you help me modify it?
create(N,L):-
   create_list(N,[],L).
create_list(0,L,L).         
create_list(N,R,L):-
   N>0,
   N1=N-1,
   create_list(N1,[N|R],L).