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: [176, 172, 188, 385, 356, 24, 104, 497, 330, 222, 270, 266, 427, 182, 492, 224, 249, 470, 58, 391]
Student:
[176, 172, 188, 385, 356, 497, 104, 24, 330, 222, 270, 266, 427, 182, 492, 224, 249, 470, 58, 391]