d= (input("Enter the number to compare: "))

if d.isdigit():
    a=int(d)
    if(a==30):
        print(" Your Input is equal to 30")
    elif(a<30):
        print(" Your Input smaller than 30")
    elif(a>30):
        print(" Your Input greater than 30")
else:
    if d.isupper():
        print("\n")
        print("***I don't know how to compare a string with the number... Do you know, how to? ***")
        print("***you have entered the text in CAPITAL character***")
    else:
        print(" ****I don't know how to compare a string with the number... Do you know, how to?*** ")
        print("***you have entered the letters in LOWER or MiXeD*** ")


7511790ac2260f228948a32ae1b5b92a7f36c566
<mask token>

<mask token>
if d.isdigit():
    a = int(d)
    if a == 30:
        print(' Your Input is equal to 30')
    elif a < 30:
        print(' Your Input smaller than 30')
    elif a > 30:
        print(' Your Input greater than 30')
elif d.isupper():
    print('\n')
    print(
        "***I don't know how to compare a string with the number... Do you know, how to? ***"
        )
    print('***you have entered the text in CAPITAL character***')
else:
    print(
        " ****I don't know how to compare a string with the number... Do you know, how to?*** "
        )
    print('***you have entered the letters in LOWER or MiXeD*** ')

d = input('Enter the number to compare: ')
if d.isdigit():
    a = int(d)
    if a == 30:
        print(' Your Input is equal to 30')
    elif a < 30:
        print(' Your Input smaller than 30')
    elif a > 30:
        print(' Your Input greater than 30')
elif d.isupper():
    print('\n')
    print(
        "***I don't know how to compare a string with the number... Do you know, how to? ***"
        )
    print('***you have entered the text in CAPITAL character***')
else:
    print(
        " ****I don't know how to compare a string with the number... Do you know, how to?*** "
        )
    print('***you have entered the letters in LOWER or MiXeD*** ')

d= (input("Enter the number to compare: "))

if d.isdigit():
    a=int(d)
    if(a==30):
        print(" Your Input is equal to 30")
    elif(a<30):
        print(" Your Input smaller than 30")
    elif(a>30):
        print(" Your Input greater than 30")
else:
    if d.isupper():
        print("\n")
        print("***I don't know how to compare a string with the number... Do you know, how to? ***")
        print("***you have entered the text in CAPITAL character***")
    else:
        print(" ****I don't know how to compare a string with the number... Do you know, how to?*** ")
        print("***you have entered the letters in LOWER or MiXeD*** ")

