string integer isdigit code example
Example 1: isdigit python
s='12'
s.isdigit()#returns True
Example 2: isdigit
Non-zero integer ( x > 0 ) Argument is a numeric character.
Zero (0) Argument is not a numeric character.
s='12'
s.isdigit()#returns True
Non-zero integer ( x > 0 ) Argument is a numeric character.
Zero (0) Argument is not a numeric character.