Posts from Python

Convert all the capital letters in a .txt file to small letters in Python

By Spandana Beenaveni

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

Set Diagonal of 3×3 Matrix as inf in Python

By Spandana Beenaveni

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

Build Dodger Game Using Pygame – Python

By Satyam Prashant

Pygame is a Python library that consists of cross-platform set of modules in Python that are used for creating multimedia video games. It includes libraries for graphics and sound .... Read More

Count number of spaces in a string in Python

By VENKATA DINESH USARTI

If you don’t know how to count the spaces in a string using Python this tutorial is for you. In this tutorial, we will learn how to count spaces in a string in Python using s.... Read More

How to print math symbols in Python

By Anuj Gupta

In this tutorial, we will learn how to print math symbols in Python. We can use Unicode. Unicode is a standard encoding system that assigns a unique number to every character acros.... Read More

Anomaly Detection Using TensorFlow and Autoencoders

By Satyam Prashant

Due to technological growth, there has been a steep rise in fraud and illegal activities, particularly in the financial sector. There is a need for a highly effective algorithm tha.... Read More

Python program to multiply two matrices

By SUGUNA SRI SARVANI BANIGANDLAPATI

Matrix Multiplication is a binary operation used to get a resultant matrix by multiplying two matrices. The elements in the row of the first matrix are multiplied by the elements o.... Read More

Print diagonals of 2d list in Python

By Gaurav Palvai

In this tutorial, you will learn how to print diagonals of 2d list in Python. To print the diagonals of a 2d list in Python, we need to iterate through the elements of the diagonal.... Read More

Related Posts