diff --git a/kotlin.md b/kotlin.md index 91bbc6528b..7c6a7de7c1 100644 --- a/kotlin.md +++ b/kotlin.md @@ -324,7 +324,7 @@ if (someBoolean) { ### For Loops ```kotlin -for (i in 0..10) { } // 1 - 10 +for (i in 0..10) { } // 0 - 10 for (i in 0 until 10) // 1 - 9 (0..10).forEach { } for (i in 0 until 10 step 2) // 0, 2, 4, 6, 8