Posts by Spandana Beenaveni
Author Biographical Info: Not available
In this tutorial, we will learn how to find and replace a word in a .txt file in Python. Initially, we have to make a text file that has the text where we want to find and replace .... Read More
In this tutorial, we will learn how to change the case of all characters present in a text file using Python. We will use Python methods Python upper() to change all characters to .... Read More
In this tutorial, you will learn how to set the diagonal of a 3×3 matrix as inf in Python using the Numpy library. First, we need to install Numpy by using the command: pip in.... Read More