Category: Learn Python

Booleans in Python

You would have come across ‘True’ or ‘False’ questions in your examinations. Do you know that these form a data type in Python? We will learn booleans, booleans of the...

Sets in Python

You would have heard of sets and set theory in Mathematics. Sets in Python are similar to those in math. In this article, we will learn sets in Python, accessing...

List Comprehensions in Python

You would have heard of lists as a collection of values of different data types, including lists. Wondering if these list comprehensions are again another data type? Then the answer...

Python Lists with Examples

There are many situations where we need to store a couple of values under a single name and use or modify them in the future. In Python, this is done...

Python Tuples

We will learn about one of the data structures, called tuples, in this article. Wondering why we need tuples when we already have lists? We will learn about creating tuples,...

Dictionaries in Python

We would have heard of dictionaries in English or other languages. In these we can find meaning for each word. Dictionaries in Python also have a similar concept, where unique...

Data Structures in Python

We deal with a lot of data everyday. It includes the bill of the things bought from grocery shops, the whatsapp text with your contacts, etc. In a program, all...