Skip to content

Instantly share code, notes, and snippets.

@sohnryang
Created January 31, 2017 22:20
Show Gist options
  • Save sohnryang/2ab3a78e7e8e8ad1b8f00473ef0cabba to your computer and use it in GitHub Desktop.
Save sohnryang/2ab3a78e7e8e8ad1b8f00473ef0cabba to your computer and use it in GitHub Desktop.
scala for the impatient - loop backward
for (i <- 10 to 1 by -1) println(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment