Posts from Python

Change the tick frequency on the x or y axis in Matplotlib – Python

By Riddhi Goyal

In this tutorial, we will learn about how to change the tick frequency on the x or y axis in Matplotlib – Python. You should know how to create a basic plot in Matplotlib. Yo.... Read More

Negate a Boolean in Python

By Harsh Gupta

You are given a boolean in python and you have to negate it without writing tons of lines of code. Negation of a Boolean in Python Some of the methods to negate a boolean in python.... Read More

Find repeated characters in a string in Python

By Khushi Aswani

In this tutorial, we will look into how to find repeated characters in a string in Python, which is a beneficial task when talking about strings and their repetition. Most of the t.... Read More

Print array items without commas in Python

By Aakanksha Thakar

This tutorial will see how to print the array elements without commas in Python. Arrays are the data structures that store data of similar data type. Now to print the array element.... Read More

Left rotate an array by D places in Python

By Harsh Gupta

In this post, we will discuss some methods to left rotate an array by D places in Python. Left rotate an array by D places in Python You are given an array and value of D (number o.... Read More

How to check if a given string is sum-string in Python

By Suchita Sriramka

In this tutorial, we will see what is a sum-string and then a short code to check if the given string is a sum-string in Python. The rule to check if a string is sum string is pret.... Read More

Python program to print Aitken’s array

By Suchita Sriramka

In this short tutorial, we will see what an Aitken’s array is and then write a program in Python to print Aitken’s array. Let’s get started. Aitken’s Array in Python Ai.... Read More

numpy.polyfit with examples

By Prachi Pandey

Here, In this tutorial, we will learn about numpy.polyfit() in Python with the help of some examples. numpy.polyfit() is a function in Python that is defined to find the least squa.... Read More

Related Posts