All Assignments - XI
All Assignments - XI
7) WAP to fetch a list from the user and remove the duplicates from a list.
8) WAP to declare a list ORIG contains 5 elements and clone or copy it to another list DUPL.
9) WAP to declare a list of 5 elements and display the index of a list along with the element.
10) WAP to find the second smallest number in a list.
11) WAP to find common items from two lists.
12) WAP to generate groups of five consecutive numbers in a list.
13) WAP to fetch a list of five elements and a number then find all the values in a list are greater than a
specified number.
14) WAP to insert a given string at the beginning of all items in a list.
Sample list : L= [1,2,3,4] String : “Mayoor”
Expected output: ['Mayoor1', ‘Mayoor2', 'Mayoor3', ‘Mayoor4']
15) WAP to concatenate all elements of a list.
MAYOOR SCHOOL AJMER
XI Computer Science / Assignment 11