flushed through the output stream immediately to any waiting recipients normallywhether printed output is buffered in memory or not is determined by filepassing true value to flush forcibly flushes the stream the textual representation of each object to be printed is obtained by passing the object to the str built-in call (or its equivalent inside python)as we've seenthis built-in returns "user friendlydisplay string for any object with no arguments at allthe print function simply prints newline character to the standard output streamwhich usually displays blank line the print function in action printing in is probably simpler than some of its details may imply to illustratelet' run some quick examples the following prints variety of object types to the default standard output streamwith the default separator and end-of-line formatting added (these are the defaults because they are the most common use case) :\codec:\python \python print( 'spamy ['eggs'print(xyzspam ['eggs'display blank line print three objects per defaults there' no need to convert objects to strings hereas would be required for file write methods by defaultprint calls add space between the objects printed to suppress thissend an empty string to the sep keyword argumentor send an alternative separator of your choosingprint(xyzsep=''spam ['eggs'print(xyzsep=''spam ['eggs'suppress separator custom separator also by defaultprint adds an end-of-line character to terminate the output line you can suppress this and avoid the line break altogether by passing an empty string to the end keyword argumentor you can pass different terminator of your own including \ character to break the line manually if desired (the second of the following is two statements on one lineseparated by semicolon) technicallyprinting uses the equivalent of str in the internal implementation of pythonbut the effect is the same besides this to-string conversion rolestr is also the name of the string data type and can be used to decode unicode strings from raw bytes with an extra encoding argumentas we'll learn in this latter role is an advanced usage that we can safely ignore here assignmentsexpressionsand prints