Hey! I don’t know if that has been asked before.
I was doing this exercise:
and my solution was exactly the same as camperbot’s
except that I used dot.notation instead of braket[notation] on the third line. So I typed:
and my solution was not accepted. I went over my code many times and I tried brakets out of curiosity and it worked. Why is that? Thank you!