Pages

Showing posts with label Mrs Lagitipu Creative Space 2018 Extension. Show all posts
Showing posts with label Mrs Lagitipu Creative Space 2018 Extension. Show all posts

Wednesday, 7 March 2018

What is a Function and For Loop?

Function is the collection of programme statements that does a specific tasks done. It's a group of commands used to make only one command. Also a piece of command called easily over and over again like doing the whip and nae nae 3 times. It includes the specific steps performed in the function. 

For Loop runs a block of code over and over for a set of number times. It is a repetitive action or a command typically created with programming loops. For Loop is a control flow statement for specifying iteration, which allows code to be executed repeatedly.