Python : * Operator in list comprehension
Evening all, I have recently discover the * operator to unpack my list. I find it quite elegant but I am a bit struggling with it. Please find below an example : from matplotlib.pyplot import Line2D COLOR_FCT = { "a": ["blue", "Al", "-"], "b": ["orange", "Bv", "-"], "c": ["green", "Cx", "-"], "d": ["k", "Ds", "–"],… Read More Python : * Operator in list comprehension