Python offers several built-in data types that form the foundation of programming. Here's a quick overview:

Primitive Data Types 💻

  • Integer 🧮
    Used for whole numbers.

    integer
  • Float 📏
    Represents decimal numbers.

    float
  • String 📝
    Sequence of characters.

    string
  • Boolean 🧠
    Logical values True or False.

    boolean

Composite Data Types 🧩

  • List 📋
    Ordered, mutable collection.

    list
  • Tuple 📦
    Ordered, immutable collection.

    tuple
  • Dictionary 📚
    Key-value pairs.

    dictionary
  • Set 🧾
    Unordered, unique elements.

    set

For more information on advanced data types, visit /en/resources/python-advanced-data-types.