package com.mengyao.scala.function

/**
 * Scala中循环的声明和使用(while和for)
 * //    val nums = for(i <- 1 to 10)yield i+1
    println(nums)
  }
}

相关文章: