What are the common built-in data types in Python?

The common built-in data types in python are:


They include integers, floating-point numbers, and complex numbers. e.g., 1, 2.4, 3 + 4j


An ordered sequences of items is called a list. The elements of a list belong to different data types. Eg. [5, ‘player’, 4.7].


It is also an ordered sequence of elements. Unlike list, tuples are immutable, which means they can’t be changed. e.g. (3, ‘play’, 1).

Popular Posts

Spread the knowledge

Leave a Reply

Your email address will not be published. Required fields are marked *