str.isdigit python code example
Example 1: isdigit python
s='12'
s.isdigit()#returns True
Example 2: isdigit python
string.isdigit() how to remove a integer from a string
Example 3: python isdigit
txt = "50800"
x = txt.isdigit()
print(x)
s='12'
s.isdigit()#returns True
string.isdigit() how to remove a integer from a string
txt = "50800"
x = txt.isdigit()
print(x)