✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What code completes this code snippet to swap the first and
last element in the list?
states = ["Alaska", "Hawaii", "Florida", "Maine"]i = 0________________________temp = states[j]states[j] = states[0]states[i] = temp