Created
April 21, 2015 15:17
-
-
Save shigemk2/cff68ed71f7b1b501e98 to your computer and use it in GitHub Desktop.
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 <- 1 to 8 by 1) println(i) | |
println("------------") | |
for (i <- 1 to 8 by 2) println(i) | |
println("------------") | |
for (i <- 1 to 8 by 3) println(i) | |
println("------------") | |
for (i <- 1 to 8 by 4) println(i) | |
println("------------") | |
for (i <- 1 to 8 by 5) println(i) | |
println("------------") | |
for (i <- 1 to 8 by 6) println(i) | |
println("------------") | |
for (i <- 1 to 8 by 7) println(i) | |
println("------------") | |
for (i <- 1 to 8 by 8) println(i) | |
println("------------") | |
for (i <- 1 to 8) println(i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment