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
names.zipWithIndex.foreach { d => println(s"${d._2} is ${d._1}") }
Source by alvinalexander.com #
PREVIOUS
NEXT
Tagged:
#loop
#scala
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit