[Tutor] A Question Regarding the Documentation Format
Chris Warrick
kwpolska at gmail.com
Sun Sep 24 06:03:43 EDT 2017
On 23 September 2017 at 15:15, Prateek <prateek.iq at gmail.com> 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 a string.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
More information about the Tutor
mailing list