Installation check

Report a typo

Let's check that everything is correct! Please copy and paste the code, run it, and paste the result in the answer box.

import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking

fun main() = runBlocking {
    for (i in 200..1000 step 200) {
        launch {
            delay(1000L - i)
            print(i)
        }
    }
}
Enter a short text
___

Create a free account to access the full topic