How to add space after dot or comma in Python string

By Anamika Roy

We are going to learn about adding space after dot or comma in a string, using Python programming language in this tutorial.  It is used in many cases like while making software, .... Read More

Add an element to an array in C++ only if the element doesn’t already exists

By Vishnu Chand

Hey learners, In this tutorial, let us learn a new concept that is how to add an element to an array if the element doesn’t exist in the array already in C++. let us understa.... Read More

Round a number to 2 decimal places in JavaScript

By CHAWADIMANI SANJANA VIJAY

In this article, you’ll learn how to Round a number to 2 decimal places in JavaScript. For this we will use two in-built methods in JavaScript namely toPrecision() and toFixed() .... Read More

Take user input and save those in .txt file using Python

By Yashkumar Patel

In this tutorial, we will learn how can we take input from users and save these inputs into a .txt file. These types of things are useful for developers as they need to store the d.... Read More

Remove duplicates from a dictionary in Python

By Varsha Neelamma

When you are working with Python dictionaries, you may come across situations where you have duplicate values present in the dictionary. This can, in some situations, hinder your p.... Read More

Redirect to another page using JavaScript

By SHRE AUROBIND RAAM

Hello Learners! In this, you gonna learn how to redirect to another page using JavaScript. In Javascript, you can redirect to another page using the object window.location. I belie.... Read More

How to Initialize a Byte Array in Java?

By Pratiksha Bhandari

In this tutorial, we will learn how to initialize a byte array in Java. What is a byte? We all know that 8 bits = 1 byte or we can say a combination of eight zeros and ones. A byte.... Read More

Conversion of character array to a string in C++

By Vishnu Chand

Hey programmers, In this tutorial, let us learn how to convert the character array to string in C++. There are many ways to convert an array of characters to a string. let us learn.... Read More