How will you check in a string that all characters are decimal?
isdecimal() − Returns true if a unicode string contains only decimal characters and false otherwise.