Questions I Got Wrong

I got 49/50, so I got one question wrong. Here is the question I got wrong.

I realized I got this wrong because I didn’t realize that word 2 was unchanged. I now understand that you only needed to swap words 1 and 2, so you just need three lines of code with the variable temp.