Python Exit handlers: atexit

By Sri Vikas Prathanapu

In this tutorial, you will learn about Exit handlers in Python. Python Exit handlers: atexit module as two functions namely register() and unregister(). These are functions that ex.... Read More

Check if a string is a number in Java

By Harsh Gupta

There are several ways to check whether the entered string is a number or not in Java program. Here I have mentioned three methods to do so. METHOD-1: We can parse String to Double.... Read More

Sort elements by frequency C++ program

By Meetali Tomer

In this tutorial, we will learn to sort elements of an array in decreasing order based on the frequency of elements in C++ programming. If the frequency of any two elements is the .... Read More

Find the first repeated character in a string in Python

By Meetali Tomer

In this tutorial, we are going to learn how to find the first repeated character in Python. Problem Statement Given a string, we need to find the first repeated character in the st.... Read More

Printing Ladder Pattern in Python

By Harsh Parmar

Welcome to another simple programming tutorial in Python. This tutorial is going to be very useful for those who are at the beginner level in Python. We will learn how can we print.... Read More

Range Queries for Longest Correct Bracket Subsequence in C++

By Karun Thannickal

In this tutorial, we will look at how to find the longest correct bracket subsequence for a range. We implement this in C++. Bracket sequences are character arrays consisting of on.... Read More

Implement a Superellipse in Python

By Karun Thannickal

In, this tutorial we learn how to implement a Superellipse in Python. We do this with the help of the NumPy and Matplotlib libraries. We use NumPy to conveniently access mathematic.... Read More

Check for None value in a Matrix in Python

By Abhishek Kaushik

Hello Friends, In this tutorial, we will look at how to check if any of the value is None in the given matrix and print the position of None value in Python. None is used for the n.... Read More