使用Scala生成随机数
一.使用Scala生成随机数1.简单版本:/*1.you can use scala.util.Random.nextInt(10) to produce a number between 1 and 102.at the same time,you nextInt(100) to produce a number between 1 and 100*/object Test {...