There were 20 tangerines each in five different baskets. After a few days, I noticed that some of the tangerines were rotten, so when I removed the rotten tangerines, the number of tangerines in the baskets became 10, 18, 17, 13, and 16, respectively. How many baskets contain 13 or fewer tangerines?
[OP_LIST_SOL] 10 18 17 13 16 [OP_LIST_EOL] 13 [OP_LIST_LESS_EQUAL] [OP_LIST_LEN]
var_a = 10
var_b = 18
var_c = 17
var_d = 13
var_e = 16
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()
var_f = 13
list_b = []
for i in list_a:
    if i <= var_f:
        list_b.append(i)
var_g = len(list_b)
print(int(var_g))