Skip to main content
XOR in Python with Example

XOR in Python with Example

The XOR operator, also known as the exclusive or operator, is a bitwise operator used in Python to perform logical operations on binary values. This article explains how to use the XOR operator in Python with code examples. We will look to explore multiple ways to perform XOR (exclusive OR) operations in Python with examples. […]

Read More

Python Do-While loop

Python do while with Example

Python doesn’t have do-while loop. However, you can achieve a similar effect by using a while loop and a break statement. This Example helps to create a program that helps to execute ‘do while loop’ with an example. There are no of loops available to iterate over elements/items but do-while does not have.

Read More