Python Set

Last Updated:

Python Sets are unordered collections of unique elements. Learn about Set datatype in Python, creating and modifying Sets and other useful Set operations available. 1. …

Python Dictionary

Last Updated:

A Dictionary in Python is a collection data type which is unordered, mutable and indexed. In Python, dictionaries are written with curly brackets { }, …

Python – Tuples

Last Updated:

In Pyhton, a tuple is similar to list except it is immutable and are written with optional round brackets. A Tuple is: immutable ordered heterogeneous …

Python List

Last Updated:

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 – Strings

Last Updated:

Larn about Python string datatype and its functions. Learn how to format, align, find length and other such useful programs and exercises.

Python – int or Integers

Last Updated:

In Python, and int or integer is a whole number without decimal, positive, negative or zero or of unlimited length and may contain underscores.

Python OrderedDict – Ordered Dictionary

Last Updated:

In python, an OrderedDict maintains the insertion order of items added to dictionary. The order of items is preserved when iterating or serializing also.

Python priority queue example

Last Updated:

Priority queue is an abstract data type where each element has a “priority” associated with it. Learn to create priority queue in python using heapq lib.

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.