print() 语法print(<contents>) println(<contents>) 类别 将输入内容输出到标准输出。print 函数不会换行,println 函数会换行。 参数 ( String, 必填 ) 要输出的内容。 返回值 无。 版本v1.0及以上版本。 示例 格式化输出文件。