Hi, what if we're not dealing with dict? is there a pythonic way of doing ternary? the bool ? x:y Thanks james