表头可为简单表头或多重表头,表头标题自动居中(大于列宽度时换行打印);
The heading may be a single one or more and the title will be typed out in the middle of the paper automatically (If it is beyond the given width, it will move to another line).
注意,当在一个表达式后面发现一个换行时,表达式的值就会被直接打印出来。
Note that, when a newline is seen after an expression, the value of the expression is simply printed.
从内部机制看,在创建字符串时换行符会被忽略,在打印字符串时可以看出这一点。
Internally, the newline character is ignored when creating the string, as is shown when the string is printed.
No new line just 'cause I made an aesthetic call that this looks kinda nice if the prompt stays on the same line.
基于美学等原因,我们就不换行了,让将要打印出的东西跟在其后。
应用推荐