Skip to main content

Python Data Types - An Overview

In Python, like in all programming languages, data types are used to classify one particular type of data. This is important because the specific data type you use will determine what values you can assign to it and what you can do to it (including what operations you can perform on it).

In this tutorial, we will go over the important data types native to Python. This is not an exhaustive investigation of data types, but will help you become familiar with what options you have available to you in Python.

Data types in Python

Every value in Python has a data type. Since everything is an object in Python programming, data types are actually classes, and variables are instance (object) of these classes.

There are various data types in Python. Some of the important types are listed below

  1. Python Numbers
  2. Python List
  3. Python Tuple
  4. Python Strings
  5. Python Set
  6. Python Dictionary 
  7. Python boolean
python data types
Submitted by shiksha.dahiya on January 26, 2021

Shiksha is working as a Data Scientist at iVagus. She has expertise in Data Science and Machine Learning.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.