When the weight of 7 students in Geontak’s class is 35.1 kilograms (kg), 41.3 kilograms (kg), 38.6 kilograms (kg), 40.2 kilograms (kg), 39.0 kilograms (kg), 43.7 kilograms (kg), and 38.4 kilograms (kg), find the average weight of students who weighed more than or equal to 39 kilograms (kg).
[OP_LIST_SOL] 35.1 41.3 38.6 40.2 39.0 43.7 38.4 [OP_LIST_EOL] 39 [OP_LIST_MORE_EQUAL] [OP_LIST_MEAN]
var_a = 35.1
var_b = 41.3
var_c = 38.6
var_d = 40.2
var_e = 39
var_f = 43.7
var_g = 38.4
list_a= []
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_a.append(var_g)
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_a.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
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_h = 39
list_b = []
for i in list_a:
    if i >= var_h:
        list_b.append(i)
list_b = [float(i) for i in list_b]
var_i = sum(list_b)/len(list_b)
print('{:.2f}'.format(round(var_i+1e-10,2)))