Posts from Python

Python Program to get IP Address of your Computer

By Sai Mukesh Reddy Gutha

Hello Coder! In this article, we will learn to write a Python program to get the IP Address of our computer. Let us know more about the IP Address before getting into the program. .... Read More

Find Battery Percentage and Charging status in Windows and Linux using Python

By Sai Mukesh Reddy Gutha

Hey Coder! In this article, we are going to get the Battery percentage using Python. In this Program, we will be needing the psutil Library to get the information of the Battery. L.... Read More

Encoding and Decoding Base64 Strings in Python

By Ranjeet V

In this post, we will learn Base64 encoding and decoding for strings in Python. In Base64 encoding, we convert the given bytes into ASCII characters. Each Base64 character is 6-bit.... Read More

Find the type of triangle with given sides in Python

By Abinash Reddy

In this article, we will learn how to find the type of triangle with given sides in Python. Let a, b, c represent the sides of the triangle. Examples Input: a = 5, b = 4, c = 3 Out.... Read More

Count pair in an array whose product is divisible by k in Python

By Abinash Reddy

In this article, we will learn how to count the pair in an array whose product is divisible by k in Python. Examples Input: arr[] = {2, 3, 5, 8, 9}      k = 4 Output: 4 Explanat.... Read More

Taking screenshots with Python

By Ranjeet V

Hello everyone, in this tutorial, we are going to learn how to take screenshots with Python. There are more than one ways to take a screenshot using Python. We will discuss some of.... Read More

Minimum number of steps to reach M from N in Python

By Abinash Reddy

In this article, we will learn how to find the minimum number of steps to reach M from N in Python. We are going to use only two operations to reach M from N. Multiply a number a b.... Read More

Python Program to Print Trinomial Triangle

By Abinash Reddy

In this article, we will learn how to print a trinomial triangle in Python. A Trinomial triangle is a variety of Pascal’s triangle. The distinction between the two is that a .... Read More