is digit function in python code example
Example 1: isdigit python
s='12'
s.isdigit()#returns True
Example 2: how to check if digit in int python
s = set(str(4059304593))
print('2' in s)
s='12'
s.isdigit()#returns True
s = set(str(4059304593))
print('2' in s)