write a code to check the given number is greater than 25 and first digit is greater than second

write a code to check the given number is greater than 25 and first digit is greater than second.


    a=input()

    for i in range(len(a)-1):

        if(a[0]>a[1]):

            b=True

        else:

            b=False

    print(int(a)>=25 and b)

Comments