Can you uncover the pattern in the sequence of shapes which are generated?
What do you think is happening here?
Is it possible to write a single program to generate all of these?
What do you think is happening here?
Is it possible to write a single program to generate all of these?
Since you ask, yes. I think, even I could do that
Have mercy! I promise not to make any more rash promises!
Are these arranged according to increasing difficulty level? Each of these is possible to make by repetition?
The python implementation of the same
import turtle
t=turtle.Turtle()
for j in range(10):
for i in range(3):
t.fd(100)
t.rt(120)
t.rt(36)
This is indeed amazing! I was looking for something similar. The algorithm becomes the code without worrying about the syntax. Its another interesting way to introduce to children!