Skip to content

Instantly share code, notes, and snippets.

@hhariri
Created October 18, 2016 07:48
Show Gist options
  • Save hhariri/139f0113ba03a8c92835f19cca99d1f0 to your computer and use it in GitHub Desktop.
Save hhariri/139f0113ba03a8c92835f19cca99d1f0 to your computer and use it in GitHub Desktop.
val x = 100
val y = 1
for (i in 0..x step y) {
}
val r = 1..100
for (z in r) {
println(z)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment