Pages

Wednesday, 7 March 2018

Definition: Function & For Loop

Function & For Loop

Function is a piece of code that you can easily call over and over again. It includes the specific steps performed in the function. So function is basiclly different types of commands made into one command. 

And For Loop, a for loop runs a block of code over and over for a set nubmer of times. 
Image result for Swift playground

No comments:

Post a Comment