Thank you Alan for explanation

That's what the bit inside the loop does.
> It checks whether the input string is a digit (specifically a decimal
> digit).
> If it is a digit it returns the result as an integer
> otherwise it spits out an error and goes round the loop again.
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to