PyDocs

Nav

Python Runtime Services

print

builtins

function
  • print(*objects, sep=' ', end='\n', file=None, flush=False)
Prints the values to a stream, or to sys.stdout by default.

sep
  string inserted between values, default a space.
end
  string appended after the last value, default a newline.
file
  a file-like object (stream); defaults to the current sys.stdout.
flush
  whether to forcibly flush the stream.
Changed in 3.3
  • 3.3: Added the flush keyword argument.
0 Examples
No examples for builtins/print.
See Also
No see-alsos for builtins/print
0 Notes
No notes for print