Posts from Python

Response methods in Python requests

By Aman Kumar

Many times we need to perform operations related to the web. Because Python is easy and simple to use it supports a Request API that provides many features to interact with the web.... Read More

Similarity metrics of strings in Python

By ZAKIR ALI

In this tutorial, we’ll learn about the Similarity metrics of strings using Python. It is used in many fields of Computer Science such as Natural Language Processing, Machine Lea.... Read More

Draw Hexagon using Turtle in Python

By Mariya Banatic J

In this tutorial, we are going to see how to draw Hexagon using Turtle in Python. First, you have to know about the Turtle graphics that is available in Python. Turtle: When a user.... Read More

try-except vs if-else in Python with examples

By Ranjeet V

In this tutorial, we are going to compare the try-except block with if-else statements in Python and see how they can be used in our Program. As we know, if-else statements are use.... Read More

math.factorial() in Python with examples

By Ayush R Sachan

We know that Python is a high-level programming language that provides multiple modules to make coding easy and efficient. One of such modules is ‘math’, which provides.... Read More

Non-overlapping sum of two sets in Python

By Meetali Tomer

In this tutorial, we will learn how to find the non-overlapping sum of two sets in Python. Problem Statement– We are given two sets, we have to find the sum of all elements w.... Read More

Solve ValueError: Error when checking target in Keras

By Prantik Sarkar

This article will help you solve ValueError: Error when checking target in Keras which we usually encounter while working with neural networks in Deep Learning. You will learn how.... Read More

Chunking Rules in NLP

By Prantik Sarkar

To be able to gain more information from a text in Natural Language Processing, we preprocess the text using various techniques such as stemming/ lemmatization, ‘stopwords.... Read More