to() Method Example

// #PS : 34
scala> val no = 1 to 3
no: scala.collection.immutable.Range.Inclusive = Range(1, 2, 3)

No comments:

Post a Comment