Wednesday, 7 March 2018

What is a function and a loop?

A function is an activity that is natural to or the purpose of a person or thing to work or operate in a proper or particular way. You can control/command it as many times you want. 

In class we look at a few dances that had the same action like the Macarena, and the Whip and the Nae Nae these are functions that repeatedly go over and over again that is a function.  

Whats a for loop? a for loop is a thing that you can specifically repeat as many times you want it to.

We also used Swift Playgrounds for this idea/article to write you can experience coding on the app store!  

No comments:

Post a Comment

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