Posts from Python

Detect if a string contains special characters or not in Python

By Mukkamala Vineela

Let us see how to detect a string whether it contains special characters or not in Python. When we speculate about this, our mind initially says us to use functions by defining the.... Read More

How to add all numbers in a list in Python

By Mukkamala Vineela

Hi everyone, today in this tutorial let us see how to add all numbers in a list in Python. Basically, we can add numbers in a list in many ways, like in other programming languages.... Read More

How to create a list of random numbers in a given range in Python

By Sumanth Mahishi

In this tutorial, you will learn how to create a list of random numbers in a given range in Python. Python has a set of functions to generate multiple random numbers. These functio.... Read More

Python program to find the number of trailing zero in factorial of a large number

By Bipin Kumar

In this tutorial, We will see how to find the number of trailing zero in factorial of a large number in Python. A solution that comes to our mind is to just find factorial of a la.... Read More

How to check a list contains only unique elements or not in the Python

By Bipin Kumar

In this tutorial, we will see the Python program to check if a list contains unique elements or not. A list will be provided by the user which may have repetitions of elements or .... Read More

Python program to find the missing term of any Arithmetic progression

By Bipin Kumar

In this tutorial, We will see the Python program to find the missing term of any Arithmetic progression. In this type of problem, An array given by the user that represent the el.... Read More

Python program to find out or detect the mobile number from the given paragraph or string

By Bipin Kumar

In this tutorial, we will see how to find out or detect the mobile/phone number from a given paragraph in the Python program. To solve this problem, we will use the re module in .... Read More

How to find all Prime numbers less than or equal to N by sieve of Eratosthenes in Python.

By Bipin Kumar

In this tutorial, We will see How to find all Prime numbers less than or equal to N by Sieve of Eratosthenes in Python. As we all know the definition, Prime numbers is a whole nu.... Read More