How do you fill in the blank below to display all of the even numbers from 1 to 10 with least amount of code?kotlinfor (_____) { println('There are $count butterflies.')}

🎲 Try a Random Question  |  Total Questions in Quiz: 83  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Kotlin Quiz — practice the complete quiz, review flashcards, or try a random question.

Kotlin MCQs For LinkedIn Skill Assessments.


How do you fill in the blank below to display all of the even numbers from 1 to 10 with least amount of code?<br>kotlin<br>for (_____) {<br> println('There are $count butterflies.')<br>}<br>