DEV Community

Discussion on: What is the simplest code to explain a loop?

Collapse
 
architectak profile image
Ankit Kumar • Edited

fun main(args: Array)
{
for (i in 1..4) print(i)
}