Question: Given the following code, turtle 1 will be green after it has run for several hundred ticks. True or False? to setup ca create -
Given the following code, turtle will be green after it has run for several hundred ticks. True or False?
to setup
ca
createturtles ;
resetticks
end
to go
testme
tick
end
to testme
ask nof patches
set pcolor red
ask turtles
set color yellow
fd random
ask turtles
set heading
ask turtle
if pcolor red set color green
end
Question options:
True
False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
