Kotlin for Loop

It is used to iterate a part of code several times. it iterate through array, collection(like list, map), ranges, String. If body of for loop have only single statement we don’t need to use  curly braces {}. Syntax iterate through range using for loop : in is the operator to check the value in the …

Kotlin for Loop Read More »