Python programs for practice

1)Write a python program to add two numbers.

2)Write a python program to calculate area of a circle.

3)Write a python program to swap two numbers.

4)Write a python program to check whether a given number is even or odd.

5)Write a python program to find greater among three numbers.

6)Write a python program to check whether a given number is even or odd without using modulo operator (%).

7)Write a python program to swap two numbers without using third variable.

8)Write a Python program to to find greater among three numbers.

9)Write a python program to to find greater between two numbers.

10)Write a program to check whether a given number is divisible by 5 or not.

Program on list:-

1) Python program to take the 20 integers and print positive , negative , odd and Even numbers seperatly.

2)Python program to find maximum and minimum element into list.

3)Python program to find the sum of all the element of the list.

4)Python program to find the multiplication of all the element of the list.

5)Take a list of 10 elements. Split into middle and store the element into two different lists.

6)Python program to delete all duplicates from the list.


One thought on “Python programs for practice

Leave a Reply

Your email address will not be published.