Teacher:In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
Teacher: Now, understand the problem? Solve this instance: [117, 339, 458, 196, 352, 486, 260, 72, 55, 238, 395, 455, 33, 118, 142, 408, 348, 70, 379, 233]
Student:
[117, 339, 458, 196, 352, 33, 260, 72, 55, 238, 395, 455, 486, 118, 142, 408, 348, 70, 379, 233]