Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
254 B
2
Indexable
Never
x=int(input("your value "))

def ebob(a,b):
    minimum=min(a,b)
    cntrl=0
    i=min(a,b)
    while(i>0 and cntrl==0):
        if a%i==0 and b%i==0:
            cntrl=1
        i=i-1
    return(i+1)
ebobb=ebob(x,100-x)
print(int(100/ebobb))