Match the parts of definitions for loops.
Loops
Matching loop definitions
Report a typo
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)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.