NetLogo: 如何在"to setup ~ go" 程序中在坐标(0 0) ~ (max-pxcor 0) 放置指定数量的海龟?

NetLogo: How to place a specified number of turtles in the coordinates (0 0) ~ (max-pxcor 0) in the "to setup ~ go" procedure?

如何在一维space坐标(0或min-pxcor 0)~(max-pxcor 0)中放置指定数量的海龟,即5或25等"to setup ~ go" 程序?有人可以对此有一些想法吗?谢谢。

如果我正确理解你的问题,你只需要:

create-turtles 25 [ set xcor random-xcor ]