The print() function prints the given object to the standard
output device (screen) or to the text stream file.
Syntax:
print(value1,…., sep=’ ‘, end=’\n’,file=sys.stdout,flush=False)
print() Parameter:
objects- object to the printed
sep- objects are separated by sep. Default value:’ ‘(space)
end-end is printed at last
file-must be an object with write(string) method
flush-If True, the stream is forcibly flushed. Default value:
False
No comments:
Post a Comment