techPiezo
Slice a string in Python

In this article, we would illustrate how to slice a string in Python v3.9. In additional info section, we would discuss how Python strings are immutable.

Square root of a negative number in Python

Complex numbers have an imaginary unit (i.e. i). In Python - it is 'j'. Cmath module helps us get the square root of negative number in Python.

Import a module in Python

We can import a module in our Python program as and when required. This ensures we don't have to write the same code again and again.

input() function - get input from the user in Python

input() function, a built-in Python function, help us get input from the user. In this article, we would discuss input() function in Python v3.9.

Install Python v3.9.0 in Ubuntu 20.04 LTS

At the time of writing, Python's latest stable release is 3.9.0. In this article, we would discuss how to install Python v3.9.0 in Ubuntu 20.04 LTS release.

Use Python documentation generator - pydoc

pydoc is a Python documentation generator. In this article, we would discuss how to use Python documentation generator - pydoc.

Install Python 3.8.3 in Ubuntu 20.04 LTS

It was year 1990, when Python first appeared. In this article, we would discuss how to install Python 3.8.3 rc1 in Ubuntu 20.04 LTS release.

Install Pip in Ubuntu 20.04

At the time of writing the article, the latest stable release of Pip is 20.0.2. In this article, we would discuss how to install Pip in Ubuntu 20.04 LTS.

floor() and ceil() functions in Python

We would discuss floor() and ceil() functions in Python with relevant examples. We need to import math module to use both the functions.

Modulus of a complex number in Python

To find out the modulus of a complex number in Python, we would use built-in abs() function. Also, we will calculate it the traditional way.