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: [145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 498, 19, 460, 157, 388, 57, 465, 315]
Student:
[145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 19, 498, 460, 157, 388, 57, 465, 315]