def fact(n):
    if n==1:
        return 1;
    else:
        return n*fact(n-1);

#ans=fact(5);
#print(ans)

    

def factorialList(a,b):
    global l
    l={};
    for each in range(a,b):
        l.setdefault(each,fact(each));

    return l;

ans=factorialList(5,8)
print(ans)
print(ans[6]);

a59d28c4c2337ab162839bfea6f03c4d28455259
<mask token>


def factorialList(a, b):
    global l
    l = {}
    for each in range(a, b):
        l.setdefault(each, fact(each))
    return l


<mask token>

def fact(n):
    if n == 1:
        return 1
    else:
        return n * fact(n - 1)


def factorialList(a, b):
    global l
    l = {}
    for each in range(a, b):
        l.setdefault(each, fact(each))
    return l


<mask token>

def fact(n):
    if n == 1:
        return 1
    else:
        return n * fact(n - 1)


def factorialList(a, b):
    global l
    l = {}
    for each in range(a, b):
        l.setdefault(each, fact(each))
    return l


<mask token>
print(ans)
print(ans[6])

def fact(n):
    if n == 1:
        return 1
    else:
        return n * fact(n - 1)


def factorialList(a, b):
    global l
    l = {}
    for each in range(a, b):
        l.setdefault(each, fact(each))
    return l


ans = factorialList(5, 8)
print(ans)
print(ans[6])

def fact(n):
    if n==1:
        return 1;
    else:
        return n*fact(n-1);

#ans=fact(5);
#print(ans)

    

def factorialList(a,b):
    global l
    l={};
    for each in range(a,b):
        l.setdefault(each,fact(each));

    return l;

ans=factorialList(5,8)
print(ans)
print(ans[6]);
