To define a function, we need to give it a name that will describe what it does. We then prefix this with the word “fun” and follow it with curly brackets. Make sure you do this outside of the onCreate function but inside the MainActivity class (while it’s a massive...