Posts from Python

Using for loop in Flask | Python

By Priya Bansal

In this tutorial, we’ll be learning the implementation of using for loop in the Flask Python framework. Basically, Flask is a micro web framework written in Python. It was de.... Read More

Detect beard from a face in Python

By Anubhav Aery

In this tutorial, we are going to learn how to detect beard form a face in Python using a webcam. We’ll be using Pycharm IDE to solve this problem. We will use OpenCV in orde.... Read More

Find Floor in a Sorted Array in Python

By Shoif Md Mia

In a sorted array floor of value (say, x) means the maximum value present in the array which is less than or equal to that value (x). Let’s clarify the problem with some exam.... Read More

Transpose of a Matrix (One Liner)| Python

By Harshal Patel

Hello everyone, in this tutorial we are going to learn a trick to find the transpose of a matrix of any given dimension with Python. A normal way to do this is by initializing two .... Read More

tf.DeviceSpec in Tensorflow with example

By Mir Shaharayan Ali Khan

Hi guys, This tutorial is to briefly understand about tf.DeviceSpec in Tensorflow. The “tf.DeviceSpec” is one of the Tensorflow’s API that describes where the sta.... Read More

numpy.prod() method in Python

By Sahil Singh

In this article, we will learn about numpy.prod() method in Python. Introduction:- numpy.prod() returns the product of an array with certain parameters defined. Syntax:- numpy.prod.... Read More

Rearranging spaces between words in Python

By Palani M

In this tutorial, we will be solving a Leet code weekly contest problem in which we are required to rearrange the spaces between a given string text using Python programming. Assum.... Read More

Using Generators inside Functions in Python

By Harshal Patel

Hello everyone, in this tutorial we are going to learn a small trick on how to use generators inside functions in Python. This is a very simple trick and it can come in very handy .... Read More