Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将如何检查每个补丁上方、下方、左侧和右侧的补丁颜色?我知道我会将它嵌入到询问补丁 [在此处插入代码] 语句中,但我不知道该询问语句中应该放什么。
让海龟展示它们周围的 4 个色块的颜色
ask turtles [show [pcolor] of neighbors4]