python program that going to check a given value is digit or not in code example Example: isdigit python s='12' s.isdigit()#returns True