如何从数组中设置海龟的颜色?
这是我的代码,但它不起作用:
let colors array:from-list ["red" "yellow" "blue" "pink"]
set index random 3
let c array:item colors index
set color array:item colors index
这导致了这个错误:
can't set flower variable COLOR to non-number blue error while flower 101 running SET