[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> Puzzle 24 from Dr Barry Newell book Turtle Confusion



Paul Rogers Attorney at Law. wrote:
Could some one assist in providing 2 different ways of solving this puzzle.

Paul,

Here's an elegant one:

to main      ; Newell #24
cs ht rt 30
draw 60
end

to draw :size
repeat 6[tri :size rt 60]
end

to tri :size
fd :size/2 rt 120
repeat 2[fd :size rt 120]
fd :size/2
end

I see several other solutions as well.

[[Yehuda]]
 
 



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home