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.

Sign up for FREE to Continue Reading

Here's what you'll get:

  • Full Access to this lesson + 387 more.
  • Learn CCNA, CCNP and CCIE R&S. Explained as simple as possible.
  • Unlock Access to 424 lessons by becoming a member.
  • New Lessons Added Regularly. You'll Be the First to Know.
  • Content created by Rene Molenaar (CCIE #41726)

Takes 1 minute - No credit card needed


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