Python – Lists

The most basic data structure in Python is the sequence. Each element of a sequence is assigned a number – its position or index. The first …

Read More ➜

Python – Strings

Strings are amongst the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the same …

Read More ➜

Python – Numbers

Number data types store numeric values. They are immutable data types, means that changing the value of a number data type results in a newly …

Read More ➜

Python – Loops

In general, statements are executed sequentially: The first statement in a function is executed first, followed by the second, and so on. There may be …

Read More ➜

Python – Decision Making

Decision making is anticipation of conditions occurring while execution of the program and specifying actions taken according to the conditions. Decision structures evaluate multiple expressions …

Read More ➜

Python – Variable Types

Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based …

Read More ➜