## Python Program to print even numbers from 1 to 100

In this program, You will learn how to print even numbers from 1 to 100 in Python. Some even list is : 2 4 6 8 10 12 14 16…

Continue Reading Python Program to print even numbers from 1 to 100

## Python Program to check number is even or odd

In this program, You will learn how to check number is even or odd in Python. if num % 2 == 0: even else: odd Example: How to check number…

Continue Reading Python Program to check number is even or odd

## Python Program to check the age of a user is eligible for voting or not

In this program, You will learn how to check the age of a user who is eligible for voting or not in Python. if age >= 18: true else: false…

Continue Reading Python Program to check the age of a user is eligible for voting or not

## Python Program to find the square root of a number

In this program, You will learn how to find the square root of a number in Python. import math math.sqrt(x) Example: How to find the square root of a number…

Continue Reading Python Program to find the square root of a number

## Python Program to find the average of n numbers

In this program, You will learn how to find the average of n numbers in Python. sum = 2 + 3 + 4 + 5 avg = sum / 4…

Continue Reading Python Program to find the average of n numbers

## Python Program to find the average of 5 subjects

In this program, You will learn how to find an average of 5 subjects in Python. sum = a + b + c + d + e avg = sum…

Continue Reading Python Program to find the average of 5 subjects

## Python Program to initialize more than one variable at a time

In this program, You will learn how to initialize more than one variable at a time in Python. x = y = z = 5 Example: How to initialize more…

Continue Reading Python Program to initialize more than one variable at a time

## Python Program to add two numbers

In this program, You will learn how to add two numbers in Python. 20 = 10 + 10 30 = 10 + 20 Example: How to add two numbers in…