python isdigit example
Example 1: isdigit python
s='12'
s.isdigit()#returns True
Example 2: python isdigit
txt = "50800"
x = txt.isdigit()
print(x)
s='12'
s.isdigit()#returns True
txt = "50800"
x = txt.isdigit()
print(x)