Here we will talk about some of the popular Python GUI Libraries, we will compare the three major GUI libraries their positives and negatives. Let’s look at some of the most popular options available to Python developers and see how they stack up. All three are cross-platform and can be used on your operating system […]

# Python

## Python Program to Find the Union of two Lists

Here we will write a program in Python to find union of two lists. We will write a user defined function to enter the lists and will display the union as output. Step-wise Solution: 1. Define a function which accepts two lists and returns the union of them. 2. Declare two empty lists and initialise […]

## Python Program to Find Perfect Number

Here we will write a program in Python to check whether the number is a Perfect number. So, first lets start with what is a perfect number. What is a Perfect number: Perfect Number is a number in which sum of all its positive divisors excluding that number is equals to the number. For example: […]

## Python Program to Find the Sum of Digits of a Number

Here we will write a program in Python to find the sum of Digits of a Number provided using while loop. Lets start with the steps for solution. Step-wise Solution: 1. Take the value of the integer and store in a variable. 2. Using a while loop, get each digit of the number and add […]

## Python Program to Reverse a number

Here we will write a program in Python to Reverse a number using while loop. Lets start with the steps: Step-wise Solution: 1. Take the value of the integer and store in a variable. 2. Using a while loop, get each digit of the number and store the reversed number in another variable. 3. Print […]

## Python Program to Make a Simple Calculator

Here we will write a program in Python to make a Simple Calculator which will implement addition, subtraction, multiplication and division depending upon the input from user. Lets see how: In this program, we ask the user to choose the desired operation. Options 1, 2, 3 and 4 are valid. Two numbers are taken and […]