📄️ Python Integer (with Examples)
In Python, the int data type (integer) represents whole numbers that can be positive or negative and can have unlimited precision.
📄️ Python Strings
Learn about Python string datatype and its functions. Learn how to format, align, find length and other such useful programs and exercises.
📄️ Python Lists
In Python, lists are ordered, indexed (indices start at 0), mutable, heterogeneous (items need not be of the same type) and written CSV in square brackets.
📄️ Python Tuples
In Pyhton, a tuple is similar to list except it is immutable and are written with optional round brackets.
📄️ Python Set
Python Sets are unordered collections of unique elements.
📄️ Python Dictionary
A Dictionary in Python is a collection data type which is unordered, mutable and indexed. In Python, dictionaries are written with curly brackets { }, and store key-value pairs.
📄️ Python OrderedDict
Learn the differences between a dictionary and OrderedDict, and also how to create, update and delete the items from the Python OrderedDict.
📄️ Python Priority Queue
Learn to implement a priority queue in Python using the queue.PriorityQueue class, heapq and bisect modules with examples.