I am trying to get familiar with Kotlin to use in my android apps. So first I want to try out some simple kotlin examples, just to get familiar with syntax of kotlin.
In my Android Studio, simply open the Kotlin file with your main function, then to the left of the main function there's a green "Run" triangle. Just click on that one to run this file.