Wednesday 7 March 2018

functions and for loops in code

Image result for for loopImage result for function











In extension today we are looking at functions and for loops in code, today I am going to be explaining what a function and for loop. for example a function is a piece of code that you can easily call over and over again. it includes the specific steps performed in the function. A loop is a repetitive action or command typically created with programming loops, or runs a block of code over and over for a set number times.also a for loop called also be used in dance moves like the whip and nae nae every time you repeat the dance move it is called a for loop.

No comments:

Post a Comment