Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
added 126 characters in body
Source Link
mata
  • 69.3k
  • 10
  • 168
  • 162

print writes a newline character to the output stream per default (or a space between each argument). so you get two calls to write, one with "abc" and one with "\n".

so if you don't want that behaviour, you have to treat that calls separately.

print writes a newline to the output stream per default. so you get two calls to write, one with "abc" and one with "\n".

print writes a newline character to the output stream per default (or a space between each argument). so you get two calls to write, one with "abc" and one with "\n".

so if you don't want that behaviour, you have to treat that calls separately.

Source Link
mata
  • 69.3k
  • 10
  • 168
  • 162

print writes a newline to the output stream per default. so you get two calls to write, one with "abc" and one with "\n".