You are on page 1of 1

List of Program

1. Write a python code to find greatest number among 5 numbers without using nested if
statement.

2. Count and display the number of vowels, consonants, uppercase, lowercase characters
in string.
3. Write a python code to print the table of 5 in the following format:
5x1=5
5 x 2 = 10
…………
…………
5 x 10 = 50
4. Write a python to create a list of all the numbers between 1 to 200 which are divisible by
3 and 5.
5. Write a python code to create two lists with EVEN and ODD numbers from a given list of
number from 100 to 300.
6. Find the difference of largest and smallest number in a list.
7. Input a list of numbers and swap elements at the even location with the elements at the
odd location.
8. Input a list of numbers and test if a number is equal to the sum of the cubes of its digits.
9. Python program to interchange first and last elements in a list
10. Python program to print sum of even numbers in a list of 1 to 200.
11. Python Program to count unique values inside a list
12. Python program to reverse All Strings in String List
13. Program to sort the elements of two given list in Ascending and Descending order
respectively and merge them in a single list.
14. Remove all occurrences a given element from the list
15. Program to remove all elements in a range from the List
16. Program to find the differences of two lists
17. Program to Print the index of first matched element of a list
18. Program to find the position of minimum and maximum elements of a list
19. Create a list from the specified start to end index of another list
20. Create two lists with first half and second half elements of a list
21. Print list after removing EVEN numbers

You might also like