Re: [Tutor] A Question Regarding the Documentation Format

2017-09-24 Thread Peter Otten
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

Re: [Tutor] A Question Regarding the Documentation Format

2017-09-24 Thread Chris Warrick
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

[Tutor] A Question Regarding the Documentation Format

2017-09-24 Thread Prateek
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