파이썬 리스트
if __name__ == '__main__': q = [2,3] p = [1, q, 4] p[1].append('버퍼') print(p) print(q) print('---- 리스트 메서드 ----') people = ['아이유', '청하'] people.append('제키와이') print(people) people[len(people):] = ['윤하'] print(people) print('---- extend() ----') people = ['아이유', '청하'] people.extend('태연') print(people) people += '윤하' print(people) people += ['제키와이'] print(people) print('---- insert() ----') people..
2020.02.05