Question: How do you fill in the blank below to display all of the even numbers from 1 to 10 with least amount of code?

  1. `count in 1..10`
  2. `count in 2..10 step 2`
  3. `count in 1..10 % 2`
  4. `var count=2; count <= 10; count+=2`

Answer: The correct answer of the above question is Option B:`count in 2..10 step 2`