max(), min()를 이용해 리스트 내 최대값과 최소값을 구함
lst = [1, 2, 3, 4, 5] max(lst) min(lst)
lst = [1, 2, 3, 4, 5] lst.index(1) #lst 내의 원소 중 1에 해당하는 index 찾음