You want to find the average length of 5 tapes. If they are 35 centimeters (cm), 35.5 centimeters (cm), 36 centimeters (cm), and 30.5 centimeters (cm), what is the average length in centimeters (cm)?
[OP_LIST_SOL] 35 29 35.5 36 30.5 [OP_LIST_EOL] [OP_LIST_MEAN]
var_a = 35
var_b = 29
var_c = 35.5
var_d = 36
var_e = 30.5
list_a= []
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()
list_a = [float(i) for i in list_a]
var_f = sum(list_a)/len(list_a)
print('{:.2f}'.format(round(var_f+1e-10,2)))