Given character is digit or not

word=“11”

if word.isdigit() == True:
print("The given character is digit. ")
else:
print(“The given character is not digit.”)

@brindhubala30

Correct, keep it up.

1 Like

thank you so much …mam

2 Likes

@brindhubala30
Keep practicing :blush: keep learning

1 Like

@kaushal-ta-ds thank you so much sir…

1 Like