[Tutor] A Question Regarding the Documentation Format

Prateek prateek.iq at gmail.com
Sat Sep 23 09:15:46 EDT 2017


Hi

Whenever I use help(input) inside Python shell i get the following output:

>>>
>>> help(input)
Help on built-in function input in module builtins:

input(...)
    input([prompt]) -> string

I want to know what the significance of  "-> string". I have tried
consulting several books but none of them gave me a clear-cut explanation
for this.

Thanks


More information about the Tutor mailing list