You want to create a two-digit number by drawing two of the four number cards 1, 3, 4, and 7, and using each card only once. How many possible numbers are greater than 36 and less than or equal to 45?
[OP_LIST_SOL] 1 3 4 7 [OP_LIST_EOL] 2 [OP_LIST_GET_PERM] 36 [OP_LIST_MORE] 45 [OP_LIST_LESS_EQUAL] [OP_LIST_LEN]
var_a = 1
var_b = 3
var_c = 4
var_d = 7
list_a= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
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_e = 2
list_b = [str(i) for i in list_a]
list_b = list(itertools.permutations(list_b, var_e))
list_b = [''.join(num_list) for num_list in list_b]
list_b = [str_num for str_num in list_b if str_num[0] != '0']
list_b = [float(i) for i in list_b]
var_f = 36
list_c = []
for i in list_b:
    if i > var_f:
        list_c.append(i)
var_g = 45
list_d = []
for i in list_c:
    if i <= var_g:
        list_d.append(i)
var_h = len(list_d)
print(int(var_h))