Skip to main content

What are Python data types?

Entry Python
Quick Answer Python built-in data types: int, float, complex (numbers), str (text), bool (True/False), list (mutable ordered sequence), tuple (immutable ordered sequence), dict (key-value mapping), set (unique unordered elements), frozenset (immutable set), bytes, bytearray, NoneType. Everything in Python is an object including these primitives.

Answer

Python data types:
• Numeric: int, float, complex
• Sequence: list, tuple, range
• Text: str
• Mapping: dict
• Set: set, frozenset
• Boolean: bool
• NoneType: None
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice