With io.write(), special codes like "/n" and formats like "*s" are possible. io.write() is basically the advanced version of print().
0
But i still can print using "\n". Is this an exception?D3LTA_Y72— 6y
1
Yes, i suppose so. But print() can't use formats. It's not that smart.DeceptiveCaster3761— 6y
1
This is wrong. Neither can use formats. Both output text verbatim to standard output. `'\n'` are not formats but "escape sequences", which serve as a way to introduce special characters like new lines or TABs `'\t'`. The difference is `print()` will add a newline, `io.write()` will not.Link1501355— 6y