Python Types

Python is a "type-less" language -- one never specifies the type of a value.  Every "thing" in Python is considered an object.  Never-the-less, for us humans, Python as built-in data types:

  • text (also known as strings)
  • numbers - integers, floating point, and complex
  • sequences - lists, tupes, and ranges
  • dictionaries
  • sets
  • booleans
  • binary - bytes, byte arrays, and memory view.

Note that unlike some other languages, Python does not differentiate between a character and a string, so the character 'a' is actually the string 'a'.