"The need to use [number] is an interesting twist, because [0] or 1 would have worked just as well too. Doing this right would also have raised the typo in the original code."
I'm confused by the wording here. So, number AND [0] or [1] would work? So, you don't actually have to use number?
"The need to use [number] is an interesting twist, because [0] or 1 would have worked just as well too. Doing this right would also have raised the typo in the original code."
I'm confused by the wording here. So,
number
AND[0]
or[1]
would work? So, you don't actually have to usenumber
?Yeah, you can use
number
or any literal like1
,2,
etc.In this case,
number
however feels more right, because you're saying any number from the index, not a specific one.Thanks! That makes sense.