© 2026 Hashnode
Table of Contents Introduction to Lists Working with Lists Introduction to Tuples Working with Tuples Lists vs Tuples Exercises Final Project 1. Introduction to Lists A list is a collection of items in Python that is ordered, changeable (mu...

파이썬에서 가장 기본적으로 활용되는 자료구조인 리스트(List)의 특징과 메서드를 설명한다. 또한 리스트의 표면적인 사용법을 넘어, 그 내재적 특징과 핵심적인 내부 동작 원리를 깊이 있게 탐구하고 정리해 보고자 한다. 리스트의 기본적인 4가지 특성을 먼저 정의하고, 실용적인 메서드들을 정리한 뒤, 메모리 관리 방식과 연산자 오버로딩의 근간이 되는 던더(Dunder) 메서드까지 단계적으로 분석한다. 1. 리스트(List)의 4가지 핵심 특징 리스...

This document covers an in-depth analysis of the List, one of the most fundamental data structures in Python. The goal is to move beyond the superficial usage of lists and to explore and organize their intrinsic features and core internal operating p...

If you’ve ever found yourself staring at a Python list like it's a cryptic puzzle, you’re not alone. Lists are one of the most fundamental data structures in Python, yet they can still surprise even experienced developers. So, let’s embark on a journ...

You have a list of colors L (for example 630 colors), but you need to display something with even more colors (for example 1700). When you have used all the colors from the list L, then you will start again from the beginning and so on until you reac...

You need to copy the original L2 list as L1 list and save it. But, you don’t want the L1 list to change when the L2 list changes. Doing this as follows will change the members in both lists, because lists L1 and L2 share the same memory location: L2 ...
