If the elements of set A are 1/2, 1/3, and 1/5, and the elements of set B are 0.2, 0.4, 0.5, and 0.7, find the number of elements in set A minus set B.
[OP_LIST_SOL] 1/2 1/3 1/5 [OP_LIST_EOL] [OP_LIST_SOL] 0.2 0.4 0.5 0.7 [OP_LIST_EOL] [OP_SET_DIFFERENCE] [OP_LIST_LEN]
var_a = 0.5
var_b = 0.3333333333333333
var_c = 0.2
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 0.2
var_e = 0.4
var_f = 0.5
var_g = 0.7
list_b= []
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_b.append(var_g)
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_b.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_b.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_b.append(var_d)
list_b.reverse()
list_c = list(set(list_a) - set(list_b))
var_h = len(list_c)
print(int(var_h))