如何控制换行?

作者: jeckbjy创建于 2018年4月4日更新于 2025年9月24日

我想一行一行的输出数组内容,尝试了几种写法,都不是很理想?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [a] (https://user-images.githubusercontent.com/1024038/38306304-bce33a98-3842-11e8-9064-4b8f67036bd6.png) (中文(简体) ). 效果是 ! (b) (https://user-images.githubusercontent.com/1024038/38306350-df32c316-3842-11e8-9a9d-f25ac05e96de.png) (中文(简体) ).

尝试:效果除了最后多了一行,基本能达到我要的效果也. [c] (https://user-images.githubusercontent.com/1024038/38306378-f9c05dc4-3842-11e8-8b2a-406737f70c46.png) (中文(简体) ).

效果是 ! (d) (https://user-images.githubusercontent.com/1024038/38306402-09c766fe-3843-11e8-8af6-e90fde0eb76c.png) (中文(简体) )

内容来源: goofychris/art-template