The isnumeric
method in Python is used to check if every character in a string is a number.
`string.isnumeric()`
It returns True
if every character in the string is a number, otherwise it will return False
.
print("11".isnumeric()) # numbersprint("hello".isnumeric()) # lettersprint("hello11".isnumeric()) # combination of alphanumeric characters