Prateek wrote:
> 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
On 23 September 2017 at 15:15, Prateek wrote:
> 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.
This indicates the return type: input() returns
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