摘要: object xunhuan { def main(args: Array[String]): Unit = { //1.范围遍历 for (i <- 1 to 10) println(i + ": hello world") for (i <- 1.to(10)) { println(i + ": 阅读全文
posted @ 2022-05-14 21:34 疢昕 阅读(171) 评论(0) 推荐(0)