Posts from Python

Difference Between json.dump() and json.dumps() in Python

By Ranjeet V

In this Python tutorial, we will discuss the difference between json.dump() and json.dumps(). As we know, JSON stands for JavaScript Object Notation. It is a lightweight data forma.... Read More

Operations on Set Objects in Python with Examples

By Sai Mukesh Reddy Gutha

Hi Learner! In this article, we are going to learn to find the common characters of two strings using sets in Python. Let us see how simple it can be to find the common characters.... Read More

Finding Magnitude of a Complex Number in Python

By Sai Mukesh Reddy Gutha

Hello! In this article, We use Python to get the Magnitude of a Complex Number using a simple snippet. First, let us learn the basics of complex numbers in Python. Complex Numbers .... Read More

MasterCard number validation using Regular Expression in Python

By Abinash Reddy

In this article, we will learn how to check whether the given string is a valid MasterCard number or not using Regular Expression in Python. A valid MasterCard number must satisfy .... Read More

howdoi in Python

By Ranjeet V

Hello everyone, in this post, we will learn about an interesting tool howdoi in Python. Python howdoi is a command-line tool that is very helpful especially for beginners. Using th.... Read More

How to get Users of Windows/Linux Systems using Python?

By Sai Mukesh Reddy Gutha

Hello Geek! In this article, we will use Python to get the current users on the Windows and Linux Systems. The method that we are going to use to get the current users is users(). .... Read More

Python Program to Calculate Area of any Triangle using its coordinates

By Sai Mukesh Reddy Gutha

Hey Coder! In this article, we are going to learn how to calculate the area of any triangle using its coordinates with the help of a Python program. Formula to Calculate Area of a .... Read More

Python Program to check if an input matrix is Upper Triangular

By Sai Mukesh Reddy Gutha

Hey Coder! In this article, we will write a Python program to check if an input matrix is an Upper Triangular matrix. Upper Triangular matrix An Upper Triangular Matrix is a square.... Read More