Loading...
beginner
Problem 01 • Step 02
Flat Addition
Now you’ll handle combinations like [2, "+", 3].
This kind of expression has two parts — a left side and a right side — joined by a +. If both sides are already numbers, the result of evaluation is their sum.
Your task is to tell the evaluator what the result should be when the input is a combination of two numbers with +.
Write your code inside the "l + r" rule — remove the text // your code here and write your expression.