Created
November 28, 2018 23:54
-
-
Save cassiozen/f64a4b092b5941a9033f6a5b041afa30 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 in 1..10) { | |
print(i) | |
} | |
// 1 2 3 4 5 6 7 8 9 10 | |
val places = listOf("New York", "Paris", "Rio") | |
for (place in places) { | |
println("I Love $place") | |
} | |
// I Love New York | |
// I Love Paris | |
// I Love Rio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment