def input():‘’‘this is doc string’’’return Noneprint(input.doc)help(input)
what is my mistake?
I'm not exactly sure what you're after.
If you want your function to return a value, you do not return None, but an actual value, which you can use later.
‘’‘this is doc string’’’ to be changed to """this is doc string """
Note : use double quotes & not single quote.
print(input.doc) to be changed to print input.__doc__
Please refer the documentation.