This week, we learned about infinite loops. A good example of an infinite loop would be like the life of a butterfly. A caterpillar is born, grows and eats food, then when it turns in to a butterfly, it lays eggs and dies and the whole process starts over again.
This code shows random numbers from 1 to 100, looped over and over again:
to numbers
print random 100
numbers
end
Well that's all for this week. This is Marky Mark saying:
"Don't taze me bro!"
I am so impressed. You are doing great!
ReplyDeleteHey when school's out you should make this a real blog. About your thoughts and stuff. It'd be fun!
ReplyDelete