Recent Posts

반복 경로와 별도 출구가 있는 원형 통로

Python Tutorial / Control Repetition with while, break and continue

Build a terminating input loop, follow break and continue precisely and test empty input, zero, negative values and quit commands.

여러 처리 단계를 반복 연결한 순환 흐름

Python Tutorial / Loop with for, range, enumerate and zip

Choose direct iteration, ranges, counters and paired collections, and use strict zip and boundary checks to avoid silently skipped data.

조건에 따라 여러 경로로 갈라지는 화살표

Python Tutorial / Choose Execution Paths with if, elif and else

Design mutually exclusive Python branches, apply consistent indentation and test boundaries and variable assignments across every execution path.

두 입력을 조합해 결과를 내는 논리 장치

Python Tutorial / Compare Values and Combine Boolean Conditions

Understand comparison chains, truthiness, short-circuit evaluation and operand-returning and/or expressions without losing valid zero or empty values.

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

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.