There is no traditional for loop in kotlin unlike java and other programming languages. Kotlin contain a for loop which can be used with anything that provide some iteration. For example you can use the for loop with array, map, collections, ranges and even with a string that provide some iteration.
Like my Facebook page : / codeglympse
Subscribe My YouTube channel : / ticoontechnologies