We are going to divide 54 apples equally into every plate. How many different ways can you portion it out on a plate? (However, not all 54 apples are placed on one plate.)
54 [OP_LIST_GET_DIVISOR] [OP_LIST_SOL] 54 [OP_LIST_EOL] [OP_SET_DIFFERENCE] [OP_LIST_LEN]
var_a = 54
list_a = []
num_sqrt = int(math.sqrt(var_a))
for i in range(1, num_sqrt+1):
    if var_a % i == 0:
        list_a.append(i)
        list_a.append(int(var_a/i))
list_a = sorted(set(list_a))
var_b = 54
list_b= []
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_b.append(var_b)
list_b.reverse()
list_c = list(set(list_a) - set(list_b))
var_c = len(list_c)
print(int(var_c))