Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 516 Bytes

File metadata and controls

11 lines (9 loc) · 516 Bytes

Python print()

The full syntax of print() is:

print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)

print() Parameters

##objects - object to the printed. * indicates that there may be more than one object ##sep - objects are separated by sep. Default value: ' ' ##end - end is printed at last ##file - must be an object with write(string) method. If omitted it, sys.stdout will be used which prints objects on the screen. ##flush - If True, the stream is forcibly flushed. Default value: False