Image Attribution |
A function is a piece of code that you can easily command or control over and over again repeatedly. It includes the specific instructions that are performed when coding.
A loop is a block that runs a number of code over and over again for a set of times you can specifically choose.
We pretended to be a block of loop and do a number of things at a set of times such as doing the Macarena Dance 4 times in a row. This helped us to experience what a loop block in Code is like.
You can explore more at Swift Playground on the App Store.
Thanks for reading!
By Mitchell.M
07/03/18
No comments:
Post a Comment
Note: only a member of this blog may post a comment.