In this tutorial, you will learn writing a Python program to add two numbers without using addition operator. Read This:  Write a program in Java to add two number without using third variable. To perform addition without using addition(+) operator, we will use the concept of bitwise operators. Below is the program using python. Add … Read more

## Python Program to Separate Characters in a Given String

In this Python programming tutorial, we will be learning to write Python programs to separate the character in a given string. String manipulation is an important aspect of programming. In Python, strings are a sequence of characters and are immutable. Immutable means we cannot modify it once created. In some scenarios, we might be required … Read more

## Python Program to add two number using Recursion

In this tutorial, we will learn to write Python programs to add two numbers using Recursion. Recursion is a powerful programming technique in which a function calls itself again and again. For Examples Suppose we have two number num1 = 5 num2 = 7, Our Output will be 12. Add two numbers using Recursion To … Read more

## Python Program to Find Highest Frequency Element in Array

In this tutorial, We will learn to write a Python program to find the highest frequency element in an Array. For Example: Suppose we have an array arr = [1, 2, 3, 4, 5, 6, 5, 4, 5, 6, 5, 4, 3, 2, 1, 5, 6] The highest frequency element should print 5, as 5 … Read more

## Python Program to Merge two Arrays

In this tutorial, we will learn to write Python Python Program to Merge two Arrays. An array is a fundamental data structure in programming that allows us to store multiple elements in a single variable having the same data types. For Example: We have two arrays given below arr1 = [1, 2, 3]arr2 = [4, … Read more

## Perform left rotation by two positions in Array Using Python

In this programming tutorial, we will learn to write a Python program to perform a left rotation of array elements by two positions. For Example: Suppose we have an array arr = [1, 2, 3, 4, 5], So after two rotation array will become arr = [3, 4, 5, 1, 2] There are multiple ways … Read more

## Python Program to Delete Element at Given Index in Array

In this tutorial you will learn to write Python Program to Delete an element at Given index in Array. There are various approach to write this program. In this tutorial we will see some approaches like using slicing, using pop() and using del in Python. For Examples: Let’s consider the following array: arr = [1, … Read more

## Python Program to Delete element at End of Array

In this tutorial we will learn writing Python Program to Delete element at End of Array. Arrays are mostly used data structures in programming language. We can store multiple data/elements in it that have same data type. Suppose we have an array arr = [1, 2, 3, 4, 5]. After deletion the last element from … Read more

## Python Program to Copy one String to Another String

In this tutorial, we will learn to write a Python program to copy one String to another string. Strings are immutable objects in Python which means we cannot modify a string once created. So to perform the copy of the String, we need to create a new string and then perform a copy of the … Read more

## Python Program to Remove Repeated Character from String

In Python, strings are one of the most commonly used data types, and it is quite common to come across a situation where we need to remove repeated characters from a string. In this post, we will learn the different approaches to remove repeated characters from a given string in Python. For Examples Method 1: … Read more