Created
May 3, 2018 05:16
-
-
Save sajjadyousefnia/8edcfa05f223650a8d34779f97ad3bd2 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
fun printInts(vararg ints: Int): Unit { | |
for (n in ints) { | |
print("$n\t") | |
} | |
} | |
printInts(1, 2, 3, 4, 5, 6) // will print 1 2 3 4 5 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment