How can I simultaneously remove several items in a list ? I have a list :
let list1 map [ -1 * ? ] reverse (n-values ( ( max-pxcor - round (max-pxcor / 3) ) + 1 ) [?])
print list1
[-17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0]
For example, I would like to remove : - the last 4 items in the list :
[-17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4]
the last 9 items in the list :
[-17 -16 -15 -14 -13 -12 -11 -10 -9]
the last 13 items in the list :
[-17 -16 -15 -14 -13]
Thank you very much for your help.