## Generate random numbers in Python

There are two types of random number generators: pseudo-random number generator and true random number generator. Pseudorandom numbers depend on…

Skip to content

Python## Generate random numbers in Python

There are two types of random number generators: pseudo-random number generator and true random number generator. Pseudorandom numbers depend on…

Python## Python Priority Queue (Step By Step Guide)

A queue is a data structure that retrieves data items in an order called FIFO (first in first out). In FIFO,…

Python## Slicing In Python (Comprehensive Tutotial)

Programming in Python involves frequently working with sequential or ‘indexed’ data. Indexed data are the ones stored in such structures…

Python## Modulo Operator In Python (Simplified Examples)

There are two ways in which we can do arithmetic division of two numbers. One of them is the floating-point…

Python## Python map() Function (Loop without a loop)

Have you been using for loops to perform repetitive tasks on a list of items in Python? Did you wish there existed…

Python## A Foolproof Guide to Infinity In Python

Numbers are an integral part of programming. Hence, programming languages support various datatypes to represent different kinds of numbers and…

Python## 11 Amazing NumPy Shuffle Examples

Python’s NumPy package offers various methods that are used to perform operations involving randomness, such as the methods to randomly…

Python## The Unconventional Guide to Colors In Python

If you have been programming in Python, chances are high that you have encountered at least one library that offers…

Python## NumPy Meshgrid From Zero To Hero

Python’s NumPy is the most commonly used library for working with array/matrix data. A matrix can be viewed as a…

Python## 3D plotting in Python using matplotlib

Data visualization is one such area where a large number of libraries have been developed in Python. Among these, Matplotlib…

Python## Normalization using NumPy norm (Simple Examples)

Normalization of a vector or a matrix is a common operation performed in a variety of scientific, mathematical, and programming…

Python## NumPy random seed (Generate Predictable random Numbers)

Most of you must have to use NumPy random seed during Python coding. Sometimes, we use code repeatedly but donâ€™t…

Python## Dijkstra’s algorithm in Python (Find Shortest & Longest Path)

In a previous tutorial, we talked about the Depth First Search algorithm where we visit every point from A to…

Python## Depth First Search algorithm in Python (Multiple Examples)

Depth First Search is a popular graph traversal algorithm. In this tutorial, We will understand how it works, along with…

Python## Python correlation matrix tutorial

In this blog, we will go through an important descriptive statistic of multi-variable data called the correlation matrix. We will…

Python## NumPy where tutorial (With Examples)

Looking up for entries that satisfy a specific condition is a painful process, especially if you are searching it in…

Python## Exiting/Terminating Python scripts (Simple Examples)

Today, we’ll be diving into the topic of exiting/terminating Python scripts! Before we get started, you should have a basic…

Python## 20+ examples for NumPy matrix multiplication

In this tutorial, we will look at various ways of performing matrix multiplication using NumPy arrays. We will learn how to…

Python## Caesar Cipher in Python (Text encryption tutorial)

Cryptography deals with encrypting or encoding a piece of information (in a plain text) into a form that looks gibberish…

Python## NumPy loadtxt tutorial (Load data from files)

In a previous tutorial, we talked about NumPy arrays, and we saw how it makes the process of reading, parsing,…

Python## 20+ examples for flattening lists in Python

Flattening lists means converting a multidimensional or nested list into a one-dimensional list. For example, the process of converting this…

Linux## 15+ examples for yum update command

Yum is a package manager used on Red Hat, CentOS, and other Linux distributions that use RPM Package Manager. Yum…

Python## Matplotlib tutorial (Plotting Graphs Using pyplot)

Matplotlib is a library in Python that creates 2D graphs to visualize data. Visualization always helps in better analysis of…

Linux## Linux find command tutorial (with examples)

When it comes to locating files or directories on your system, the find command on Linux is unparalleled. Itâ€™s simple…

Linux## 15+ examples for Linux cURL command

In this tutorial, we will cover the cURL command in Linux. Follow along as we guide you through the functions…

Server Administration## SSH port forwarding (tunneling) in Linux

In this tutorial, we will cover SSH port forwarding in Linux. This is a function of the SSH utility that…