How to get help on built in function print in Python

1 Answer

0 votes
print(help(print))



'''
run:

Help on built-in function print in module builtins:

print(...)
    print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
    
    Prints the values to a stream, or to sys.stdout by default.
    Optional keyword arguments:
    file:  a file-like object (stream); defaults to the current sys.stdout.
    sep:   string inserted between values, default a space.
    end:   string appended after the last value, default a newline.
    flush: whether to forcibly flush the stream.

'''

 



answered Oct 17, 2020 by avibootz

Related questions

1 answer 279 views
1 answer 402 views
1 answer 451 views
1 answer 444 views
1 answer 441 views
1 answer 298 views
298 views asked Oct 17, 2020 by avibootz
1 answer 280 views
280 views asked Oct 17, 2020 by avibootz
...