Category: Python

겹치는 두 집합 안팎에 놓인 도형

Python Tutorial / Remove Duplicates with Sets and Choose Collections

Apply set membership, union, intersection and difference, distinguish remove from discard, and choose a collection without losing meaningful duplicates.

서로 짝을 이루는 열쇠와 서랍

Python Tutorial / Store Key–Value Data with Dictionaries

Use dictionaries for named fields and grouped totals, distinguish required lookups from get defaults, and handle key normalization and mutation safely.

고정된 유리 용기 안에 묶여 있는 여러 항목

Python Tutorial / Understand Tuples and Sequence Unpacking

Create tuples, unpack fixed and variable-length sequences, and understand nested mutability, hashability and when named fields improve a record.

여닫을 수 있는 서랍에 순서대로 담긴 물체

Python Tutorial / Create Lists and Add, Change and Remove Items

Create and modify lists, compare append with extend and sorted with sort, and avoid common empty-list, copying and iteration mistakes.

순서대로 연결된 색 구슬

Python Tutorial / Work with Strings, Slices and Formatting

Use string indexing, slicing, strip, split, join and f-strings while distinguishing immutable text, Unicode length and structured-data parsing.

정수·비율·정밀도를 표현한 다양한 크기의 블록

Python Tutorial / Understand Integers, Floats and Numeric Conversion

Compare int, float and Decimal, understand negative floor division and choose explicit conversion and precision rules for expense calculations.

입력 트레이에서 처리 장치를 거쳐 출력되는 블록

Python Tutorial / Build a First Program with Variables, Input and Output

Read expense input, convert text to an integer and format a result. Understand assignment, comments, f-strings and the source of common conversion errors.

유리 용기마다 분리해 담은 폴더와 블록

Python Tutorial / Create Virtual Environments and Manage Packages with pip

Use venv and python -m pip to separate projects, record dependencies and troubleshoot interpreter, package and activation problems.

편집기 화면과 키보드가 놓인 작업 공간

Python Tutorial / Write and Run Python in VS Code

Choose a virtual-environment interpreter in VS Code, run a complete Python script and use a breakpoint to check values while diagnosing environment mismatches.

빈 화면의 노트북 두 대와 서로 다른 색의 폴더

Python Tutorial / Set Up Python on macOS and Ubuntu

Prepare a Python development environment on macOS or Ubuntu without replacing system Python. Verify paths, create a virtual environment and test execution.