create a for loop in kotlin with i and j code example Example: for loop kotlin for (x in 0..10) println(x)