| Title | Modifying a List (Case 2) |
| Catalog Type | SLCItem |
| Persistent ID | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/py_list_change__664e4dc691363872f0ba3851?index=1 |
| Platform Name | PCEX |
| Features | — |
| Description | Construct a program that swaps pairs of adjacent elements of the list. For example, if the list is [1, 2, 3, 4, 5, 6], the program will change it to [2, 1, 4, 3, 6, 5].\nThis program assumes that the list has always an even number of elements. |
| Keywords | — |
| Author | Mohammad Hassany |
| Institution | University of Pittsburgh |
| Iframe URL | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/py_list_change__664e4dc691363872f0ba3851?index=1 |
| Protocol | SPLICE |
| Protocol URL | |
| License | MIT |
| Programming Language | PYTHON |
| Natural Language | en |