Posts from Python

Duplicate Elements Removal of an Array or List in Python

By Priyam Sur

In this tutorial, you will learn how to remove duplicate elements from an array of list in Python. Duplicate Elements Removal: The user inputs integer elements of an array randomly.... Read More

Play mp3 audio in Python

By Faruque Ahamed Mollick

When we install Python on our windows system, it already contains the winsound module which will able to play sound. But it is only able to play sound with “.wav” exten.... Read More

Get maximum and minimum number from a list in Python

By Faruque Ahamed Mollick

Today in this Python related post, I am going to show you how we can get the maximum and minimum number from a list. For example, suppose, we have a list in Python that is given be.... Read More

Clockwise and CounterClockwise Rotation of Matrix using NumPy in Python 3

By Priyam Sur

In this tutorial, we will learn the clockwise and counterclockwise rotation of matrix using NumPy library in Python. We are providing an easy example of each one for a better under.... Read More

Remove spaces from a string in Python

By Faruque Ahamed Mollick

A string can contain one or more spaces that we often may want to remove. May be some unwanted spaces comes with our string. We may remove the space from the right side or from the.... Read More

Why Python Is The Most Popular Language For Machine Learning

By Arpit Gupta

Python is the go-to language for simple to complex tasks such as writing a ‘Hello World’ code or making machine learning programs. Machine learning in layman’s terms is using.... Read More

How to take only a single character as an input in Python

By Saruque Ahamed Mollick

In this tutorial, we will learn how to take only a single character as an input in Python with some cool and easy examples. In many situations, you might have to come up with this.... Read More

How does carriage return “\r” work in python

By Saruque Ahamed Mollick

In this Python tutorial, we will learn how does carriage return “\r” work in Python. A carriage return is a special type of escaping character. Many of the Python learn.... Read More

Related Posts