# Check if the string is numeric

string1 = input("Enter the string")
if(string1.isnumeric()):
    print("It is numeric")
else:
    print("It isn't a numeric")

643ae6281ef11d5911a1a7bfc305adb9fba9e2a3
<mask token>

<mask token>
if string1.isnumeric():
    print('It is numeric')
else:
    print("It isn't a numeric")

string1 = input('Enter the string')
if string1.isnumeric():
    print('It is numeric')
else:
    print("It isn't a numeric")

# Check if the string is numeric

string1 = input("Enter the string")
if(string1.isnumeric()):
    print("It is numeric")
else:
    print("It isn't a numeric")
