Python print "hello world" vs "hello world"
The difference is what printcauses str, while the REPL action (reading evaluates the print cycle) by default means calling the reprobject if it is not None.
Please note that if you are not working in an interactive interpreter (you are not in the REPL), you will not see any output in the version without print.
, . repr .
Python.
print "hello world" , print , stdout https://docs.python.org/3/library/functions.html#print
>>> "hello world"- just let the python interpreter excuse the line of code, which is just a line. Since you are working on python, an interactive shell. The shell displays the string "Hello world."