Created
January 31, 2017 22:20
-
-
Save sohnryang/2ab3a78e7e8e8ad1b8f00473ef0cabba to your computer and use it in GitHub Desktop.
scala for the impatient - loop backward
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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