✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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