View difference between Paste ID: cd5ikCCM and vWvV0g72
SHOW: | | - or go back to the newest paste.
1
count=count+1
2
while turtle.forward() do
3
 count=count+1
4
end
5-
print("Distance is: "..count)
5+
write("Distance is: ")
6
write(count)