Apply Style to the letters A, B , C and D according to the specifications listed below. The number represents the font size and the color represents the font color. (Hint: Use Apply.)
Input:
{{"A",25,Red},{"B",30,Green},{"C",35,Blue},{"D",40,Brown}}
Expected Output:
After going through the Apply section (https://reference.wolfram.com/language/ref/Apply.html), I fail to figure out how Apply can be applied for this problem.
More explanation that would help solve the problem appreciated.



Style["A",25,Red]Mathematica is smart and knows that25is for font size andRedis for color and it applies them to the first argument which is "A" . If you want to make{"A",25}be red, you can doStyle[{"A", 25}, Red]– Nasser Sep 12 '21 at 07:48Might be there is also a way by Apply.I am not sure what you mean.f @@@ expris the same asApply[f,expr,{1}]so the above answer is usingApply. – Nasser Sep 12 '21 at 08:08