기본설정

L = ["Bob", "Cat", "Spam", "Programmers"]

append


append() : 주어진 값을 리스트의 끝에 추가함

L.append("New")
  • 리스트 L 의 끝에 원소 “New” 가 추가됨