I am attempting the Resistor Color Trio exercise in the Red track. In the test script, the first test says this:
16 │ expected: #(
17 │ value: 33
18 │ unit: "ohms"
19 │ )
and I can’t, for the life of me, figure out how it wants those values returned. My function correctly calculates 33 ohms, but I have tried returning
make object! [
value: 33
unit: "ohms"
]
and
make map! ["value" 33 "unit" "ohms"]
and even in desperation the string “33 ohms” (like the text of the exercise suggests), but none of these satisfy the test script.
Does anyone have any suggestions for how I should format my output?