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 […]

Sudoku Solver in Python Read More »

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

Selection Sort in Python Read More »

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

Insertion Sort in Python Read More »

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

Bubble Sort in Python Read More »

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

Semicolon in Python Read More »