by hmry · 6y ago · 0 comments
if lower < x.calculate_weight() < upper: ...
x_weight = x.calculate_weight() if lower < x_weight and x_weight < upper: ...