Wednesday 7 March 2018

What is a function and for loop? (Extension)

Image result for functionToday for Extension the year 7's and year 8's had to write a blog post about what a function and what a for loop is. What is a function? A function is a group of commands put together to make one specific command when coding, for example when you do the moves for the Macarena it repeats itself over and over that's just like using a function. What is a For loop? A for loop is a command that can help you repeat commands over and over.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.