Data types in any programming language are used to define the operations possible on the variables and the storage method for each of them.
There are two types of data types: Mutable and immutable. Mutable datatypes are the objects that can be modified and altered (i.e. adding new elements, removing an element, replacing an element) even after creating object. The mutable objects in Python are: List, Dictionary, Set, Array, etc.
Immutable data types are the objects that cannot be modified and altered (i.e. adding new elements, removing an element, replacing an element) after creating an object. The immutable data types in Python are Tuple, int, float, complex, string frozen set [note: an immutable version of the set], bytes, etc.
If you wish to learn Python from an online course, then enroll in this Python Course by Intellipaat provides instructor-led training, lifetime access, certification, and job assistance.