Jan-28-2019, 04:15 PM
When you're running a script and want to show something in the console you must write this content to stdout/stderr.
The builtin function
If you do like what you did this content will be lost after the interpreter pass through it.
When running code inside the interpreter it just echoes, and again, you lose its content.
The builtin function
print()
does this for you (writes to stdout by default).If you do like what you did this content will be lost after the interpreter pass through it.
When running code inside the interpreter it just echoes, and again, you lose its content.