Understanding ranges

Report a typo

Match the output of this code and the loop condition:

for (i in ...) {
    print(i)
}
Match the items from left and right columns
1..3
11..10
11 downTo 10
11 downTo 10 step 2
1 until 5
'a'..'c' step 2
'a' until 'd' step 3
a
1234
Empty output.
11
123
ac
1110
___

Create a free account to access the full topic