Matching loop definitions

Report a typo

Match the parts of definitions for loops.

Match the items from left and right columns
List(1, 2, 3)
for e <-
while list.nonEmpty
do println(list.head)
.foreach(println)
list do println(e)
___

Create a free account to access the full topic