DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SCALA
how loop in scala
for ((name, count) <- names.zipWithIndex) { println(s"$count is $name") }
Source by alvinalexander.com #
PREVIOUS
NEXT
Tagged:
#loop
#scala
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit