fflush() Function
fflush()
function is used to flush a file or buffer. It cleans it (making it empty) if it has been loaded with any other data already.
Single Asterisk in Python
Here the single asterisk (*) is used in *args
. It is used to pass a variable number of arguments to a function, mostly for passing a non-key argument and variable-length argument list.
end and sep in Python
end
and sep
are optional parameters in Python. The end
parameter is printed after all the output objects present in one output statement have been returned, while the sep
parameter differentiates between the objects.