§2.0 Basics
KM
bykarutt
2025-06-03
Overview of Python Basics
Let's check what you'll learn as basic Python operations.
- Variables and Data Types
- Overview: Variables are like "boxes" for storing values. Data types indicate what kind of values go in the box (numbers, text, etc.).
- What You Can Do: Store numbers or text and use them as many times as you want later.
- Operators and Expressions
- Overview: Symbols like "+" or "==" are used for calculations and comparisons. You combine these to make "expressions."
- What You Can Do: Not just addition and subtraction, but also compare values and express "true/false" logic in your program.
- Control Structures
- Overview: Commands that control the order of execution, branching, and repetition in your program.
- What You Can Do: Switch processing based on conditions (
if), or repeat actions (for/while).
By mastering these basics, you'll build a solid foundation for programming in Python. From the next chapter, you'll learn each topic in detail and deepen your understanding by actually writing code.