summaryrefslogtreecommitdiff
path: root/progs/a846.py
blob: d77c2e2040803296fb1aa2bc799d6013fcdb06d7 (plain)
1
2
3
4
5
6
7
8
def first_Factorial_Divisible_Number(x): 
    i = 1;
    fact = 1; 
    for i in range(1,x): 
        fact = fact * i 
        if (fact % x == 0): 
            break
    return i