pop() 이라는 메소드를 이용하면 list 마지막 데이터를 지울수 있습니다.
pop()
ex)
three = [1,2,3] remove_on = three.pop() print(remove_one) print(three) 출력 6 [1,2]