 # Python

## Features of Python programming language

Python Programming language is one of the most popular programming languages in the world, and it is very widely used for different purposes. It is a high-level, object-oriented, and interpreter-based programming language. Python is very simple and easy to learn, which is why many people choose to learn python, and many beginners also try their …

## Python program to find first and last digit in a number

In this article, we are going to understand and perform a very simple Python program, to get the first and last digit from the given number. For example, we would be given a number, for example, 1234, and we need to get the first and last digits from the given number, which are 1 and …

## How to create a tuple with one element in Python?

In this tutorial, we are going to learn about how can we create a tuple with only one element. Basically, the tuple is one of the built-in datatypes, used to store the collection of data. We can create a tuple, using the tuple constructor, or using the parentheses as well. How to create a tuple … ## Python Program to Convert Celsius to Fahrenheit

Convert Celsius to Fahrenheit in Python In this article, we are going to write a simple Python program, to convert the temperature from degree Celsius to degrees Fahrenheit. This program is going to be a simple formula-based program, in which, we just have to take the temperature in degrees Celsius as user input, and then …

## Python Math Module

Python Math Module Now, Let’s discuss a very commonly used module, which is the math module. As the name of the module suggests, it is used to perform some mathematical operations. We are going to look at some of the different things that we can do using the math module. Let’s have a look at … ## How to remove duplicate values from list in python

In Python, we make use of a list, when we need to store a collection of data. The thing is that in the list, we can have data of multiple data types, and along with that, duplicate elements are also allowed in the list. But at times, there can be a requirement, that we need …

## Sum of digits of a number in Python

Sum of digits of a number in Python In this article, we are going to understand and perform a simple python program, in which, we have a number, and we are required to calculate the sum of all the digits in the given number. For example, we are given the number 1234, so the sum …