Python Data Types

Data types represent a type of value. Python has five standard data types:

  • Numeric: We can use different numeric data types like integer, float, and complex.
  • String: A string is a sequence of characters.
  • List: As the name implies, this is a list of items.
  • Tuple: Similar to a list but it’s read-only.
  • Dictionary: a Dictionary is a key-value pair you can use to store data.

We are going to cover the data types with examples in the next lessons.


Ask a question or start a discussion by visiting our Community Forum