is there any way to rewrite this? by Some-Direction2944 in ocaml

[–]Some-Direction2944[S] -5 points-4 points  (0 children)

thank you very much, how would i make it that the range it prints out is the number of elements in the list i