What does the code print?

Report a typo

What does this code print?

var i = 0
while (i < 10) {
    i++
    if (i % 2 == 0) {
        print("$i ")
    }
}
Select one option from the list
___

Create a free account to access the full topic