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 203 views
1 answer 288 views
1 answer 340 views
1 answer 346 views
1 answer 313 views
1 answer 212 views
212 views asked Oct 17, 2020 by avibootz
1 answer 198 views
198 views asked Oct 17, 2020 by avibootz
...