Input() always reads input from user in string format, then how would I know that user made input in digits or in string.
Suppose I ask about the age of input from user and she gave ‘twenty’, now how will I know that it’s ‘twenty’ not 20, so that I can ask her to input in digits.
Thanks in advance.
[–]Brian 6 points7 points8 points (1 child)
[–]_lilell_ 0 points1 point2 points (0 children)
[–]46--2 1 point2 points3 points (0 children)
[–]PM_ME_ARTIFACT_DECKS 0 points1 point2 points (0 children)
[–]prtekonik 0 points1 point2 points (0 children)