Posts from Python

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

Walrus Operator in Python

By Abhay Shah

In the following tutorial, we will learn about the Walrus Operator in Python. What is the Walrus Operator? With the latest development in Python 3.8, we have observed the addition .... Read More

Check if a number is Euler Pseudoprime in Python

By Kuldeep Singh

Hello coders, in this tutorial we are going to check whether a given number is Euler Pseudoprime or not in Python. Before we proceed firstly we will discuss what is Euler Pseudopri.... Read More