1 00:00:00,090 --> 00:00:06,060 So here are a few questions on list for you to practice. 2 00:00:06,130 --> 00:00:12,360 And first question is multiply elements in the list. 3 00:00:12,360 --> 00:00:14,570 So here is your input list. 4 00:00:14,760 --> 00:00:26,670 Multiply list is your input list containing elements from 1 to 10 and you need to multiply each of the 5 00:00:26,670 --> 00:00:30,020 elements in the input list and display the output. 6 00:00:32,220 --> 00:00:33,600 The second question. 7 00:00:33,600 --> 00:00:37,140 Remove duplicate from a list. 8 00:00:37,140 --> 00:00:40,560 So this is your input list. 9 00:00:40,560 --> 00:00:42,300 Duplicate list. 10 00:00:42,480 --> 00:00:51,840 You need to delete the duplicate elements from this list and finally display the list containing no 11 00:00:51,840 --> 00:00:54,170 duplicate elements. 12 00:00:54,180 --> 00:00:55,650 The third question. 13 00:00:55,770 --> 00:00:57,840 Create a list using slicing. 14 00:00:57,840 --> 00:00:59,780 So here you have two lists. 15 00:00:59,860 --> 00:01:02,790 Input list list 1 and list. 16 00:01:02,800 --> 00:01:14,750 Do you need to create a new list list 3 which contains the last three elements from list 1 and forced 17 00:01:14,760 --> 00:01:18,000 3 elements from list 2. 18 00:01:18,330 --> 00:01:24,640 And you can use slicing on the input list to create the new list. 19 00:01:24,660 --> 00:01:30,900 And this is the expected output next question. 20 00:01:30,900 --> 00:01:33,660 It lists using different methods. 21 00:01:33,750 --> 00:01:37,760 So here is the input list all list. 22 00:01:37,800 --> 00:01:48,710 You need to create a new list which has the same set of elements as the old list and the new list should 23 00:01:48,710 --> 00:01:57,860 be defined in such a way that that if you make changes to the old list the changes should not be deflected 24 00:01:58,400 --> 00:01:59,690 in new list. 25 00:02:01,350 --> 00:02:09,150 So you can think all the various methods or ways that we have discussed in class to generate the new 26 00:02:09,150 --> 00:02:15,000 list and the next question is how do you define the new list. 27 00:02:15,000 --> 00:02:25,440 If you want the changes in one list to reflect in the other list next question list comprehension. 28 00:02:25,460 --> 00:02:29,490 This is your input list and using list comprehension. 29 00:02:29,510 --> 00:02:37,750 You need to create a new list and the elements in the new list should be generated by adding integers 30 00:02:37,760 --> 00:02:41,510 7 to each element in the input list. 31 00:02:42,970 --> 00:02:47,790 And this is the expected output. 32 00:02:47,800 --> 00:02:52,820 Next question can ward a list to a string. 33 00:02:53,310 --> 00:03:04,590 And this is your input list and you need to convert the about list into a string so you can use the 34 00:03:04,590 --> 00:03:11,710 methods that were discussed in class to convert a list to a string. 35 00:03:11,720 --> 00:03:15,040 Next question is on nested lists. 36 00:03:16,130 --> 00:03:26,940 So here we have a list the three sublease and you need to write a program to print each element in the 37 00:03:26,940 --> 00:03:29,650 sublease in a new line. 38 00:03:29,670 --> 00:03:40,150 So this is how your output should look like the elements in the sublease should be printed like this. 39 00:03:40,200 --> 00:03:42,270 Each element in a new line. 40 00:03:43,110 --> 00:03:47,360 So these are the different questions on list. 41 00:03:47,520 --> 00:03:49,750 So please go ahead and work on them. 42 00:03:49,770 --> 00:03:50,190 Good luck.