Posts from Python

Print right angle triangle in Python

By Shriprakash Tiwari

In this tutorial, we are going to learn how to print the right-angled triangle in Python. Using for loop we can print the right-angled triangle. To understand this you should know .... Read More

How to unpack a tuple in Python

By Anish

In this tutorial, we will learn how to unpack a tuple in Python. In Python, tuples are similar to lists and are declared by parenthesis/round brackets. Tuples are used to store imm.... Read More

Sum of all the factors of a number in Python

By Shriprakash Tiwari

In this tutorial, we will learn to sum all the factors of a number in Python. Before start, we should now what is factors and how two find factors of a number. Factors are numbers .... Read More

Motion Detection using OpenCV in Python

By Snigdha Ranjith

In this tutorial, we will perform Motion Detection using OpenCV in Python. When the Python program detects any motion, it will draw a blue rectangle around the moving object. Pleas.... Read More

Get each Color component from RGB string in Python

By Snigdha Ranjith

Today we’ll learn how to get each color component in an RGB string in Python. For those of you who don’t know what an RGB color model is, it is a way of producing a spe.... Read More

Python program to calculate BMI

By Sachin Rastogi

In this article, we are going to learn how to calculate the Body Mass Index (BMI) using Python. Body Mass Index is also known as the Quetelet Index. It is a value calculated using .... Read More

Python program to calculate the Standard Deviation

By Sachin Rastogi

In this article, we are going to understand about the Standard Deviation and how it is calculated in Python. Before the calculation of Standard Deviation, we need to understand wha.... Read More

How to check if a word exists in a string or not in Python

By Sajif Shah

In this tutorial, we learn how to check if a word exists in a string or not in Python. The string is an array, it is a datatype use in programming.string is used to store a sequenc.... Read More

Related Posts