## Sudoku Solver in Python

Let’s build a sudoku solver in Python today! Sudoku Puzzle is a very popular puzzle that appears in the daily newspaper that attracts the attention of a lot of people. There are a lot of difficult, unsolved problems about sudoku puzzles and their generalizations which makes this puzzle interesting, specifically to a lot of mathematics […]

## Binary Search Algorithm in Python

Today, we will learn a very fast searching algorithm – the binary search algorithm in Python. We will see its logic, how to write it in Python and what makes it so fast. The Binary Search Algorithm There is one thing to note before starting, the algorithm requires that the given list should be sorted.

## The difference between == and is in Python

The operators == and is both perform very similar tasks in Python, but they are very different from each other and deal with a very interesting concept: how Python stores its variables in memory. Understanding the Difference between == and is In simple terms, == checks the value of the two operands, and if they’re

## Selection Sort in Python

Today we will learn a simple and easy to visualize sorting algorithm called the Selection Sort in Python. Let’s get started. The Selection Sort Algorithm Similar to Insertion Sort, the insertion sort algorithm divides the list into two parts. The first part at the beginning of the list is the sorted part and the second

## Insertion Sort in Python

In this tutorial, we will learn about insertion sort in Python, a sorting algorithm that works very similar to how we sort things in real life. Let’s get started. The Insertion Sort Algorithm If you have a set of cards numbered 1 to 10 which are shuffled, and you’re asked to sort them, you will

## Bubble Sort in Python

Let’s study one of the most intuitive and easiest to learn sorting algorithms, and implement Bubble Sort in Python. We’ll start by understanding sorting itself, and then we’ll get to sorting via bubble sort, and finally, we’ll see how to implement it in Python. Importance of Sorting Algorithms What is sorting? And why is it

## Jupyter Notebook for Python – Comprehensive Guide

In this tutorial, we’ll learn about a simple but powerful notebook for Python. We’ll learn what a notebook is, how to install the Jupyter Notebook, how to use it, and why to use Jupyter Notebook. What is a notebook? To know what a notebook is, we need to know what REPL is. REPL or read-eval-print

## Semicolon in Python

The common meaning of a semicolon(;) in various programming languages is to end or discontinue the current statement. In programming languages such as C, C++, and Java, it is necessary to use a semicolon to end a line of code. However, this is not the case with Python. A semicolon in Python signifies separation rather

## Weighted Moving Average – Implementation in Python

In this article, we’ll calculate the Weighted Moving Average in Python. Weight Moving Average or WMA is used extensively in trading setups Understanding Moving Averages A Moving Average is used to analyze the time-series data by calculating averages of different subsets of the complete dataset. Moving Average is also known as Rolling or Running Average.

## Level Order Binary Tree Traversal in Python

In this article, we will learn about the level order binary tree traversal. First We will look at the underlying concepts behind level order traversal and then we will implement level order traversal for binary trees in python. What is Level Order Traversal? Level order traversal is a breadth-first binary tree traversal technique. We first