The best way to learn any programming language is by practicing examples on your own.
You are advised to take references of these examples and try them on your own.
All Kotlin programs in this page are tested and should work on almost all Kotlin compilers.
Feel free to use the source code on your system.