Professional Documents
Culture Documents
Jesus
Jesus
Practical 6 WAP to input two lists and print the common elements and also
number of common elements inputted.
Practical 7 WAP to remove all the duplicate string elements inputted from
the original list and store it in another list.
Practical 8 WAP to shift all the elements of a list to one right and the last
element to the starting of the list. (without using slicing)
Example : if the inputted list is
[45, 3, 89, 12, 92]
Output : [92, 45, 3, 89, 12]
Practical 9 WAP to generate a frequency table of all the elements with how
many times it is present in the list.
Example : if the inputted list is
[11,21,32,48,0,0,11,21,21,48,21,0,0,21]
Output : element No of times
11 2
21 5
32 1
48 2
0 4