Posts by Mariya Banatic J

Author Biographical Info: Not available

Python Program to find number of sub arrays with negative product

By Mariya Banatic J

This post deals with how to find the number of sub-arrays with negative products in Python. Here, I am going to provide you with a simple solution to this problem using prefix prod.... Read More

How to replace all ‘0’ with ‘5’ in an input Integer in Python

By Mariya Banatic J

After this tutorial, you will be learned how to replace all ‘0’ with ‘5’ in an input integer in Python. This tutorial will show you 2 simple methods that ar.... Read More

Convert Decimal fraction to binary in Python

By Mariya Banatic J

In this tutorial, we will show you how to convert decimal fraction to binary in Python. Note: Here, we are going to convert a decimal number into its equivalent binary number up to.... Read More

Write to an excel file using openpyxl module in Python

By Mariya Banatic J

This post will help you to write to an excel file using openpyxl module in Python. In first we have to know about the openpyxl module. openpyxl openpyxl: used for reading and writi.... Read More

Find the only repetitive element between 1 to n-1 in Python

By Mariya Banatic J

In this tutorial, we will show you how to find the only repetitive element between 1 and n-1 elements in Python. This tutorial deals with the simple methods that are available and .... Read More

Ways to clear a Python List

By Mariya Banatic J

A list in Python is a collection that is mutable, ordered, and changeable. Here we are going to see the various ways that are available to clear a Python list. Below are some of th.... Read More

Convert Image Format using wand in Python

By Mariya Banatic J

After this tutorial, you will able to convert image format using the wand in Python. At first, you have to know about the wand library. Wand: To open and manipulate images, a wand .... Read More

How to flatten JSON objects in Python

By Mariya Banatic J

In this post, we are going to learn about how to flatten JSON objects in Python. We will 2 methods that are available in Python. Below are the two methods are given that we are goi.... Read More