Knowledge check

Completed

Choose the best response for each question. Then, select Check your answers.

Check your knowledge

1.

What construct would you use to iterate over an enumerable collection?

2.

Explain what's wrong with the code let value = if condition then true else 1.

3.

Which numbers would the loop for i = 0 to 5 do printfn "%i " i print?