1 00:00:00,390 --> 00:00:06,880 Biton topples, so under the chapter, Python detectives who are going to define another new day today. 2 00:00:07,050 --> 00:00:08,880 That is known as the python topples. 3 00:00:09,330 --> 00:00:10,860 So what does a python topples? 4 00:00:11,070 --> 00:00:13,080 In case a python topples, we go. 5 00:00:13,160 --> 00:00:19,590 We are going to define one couple, but the double elements will be enclosed within fast brackets and 6 00:00:19,590 --> 00:00:23,850 dapple elements can be having into heterogeneous data types. 7 00:00:24,270 --> 00:00:29,790 So you might be asking me what is the difference between DAPPLE and at least that list is mutable. 8 00:00:29,970 --> 00:00:32,270 But dapple elements are immutable. 9 00:00:32,520 --> 00:00:34,230 That is, they cannot be updated. 10 00:00:34,470 --> 00:00:37,980 So there is a basic difference between a double and a list. 11 00:00:38,220 --> 00:00:40,330 The list will be enclosed within third brackets. 12 00:00:40,470 --> 00:00:41,280 That is a square. 13 00:00:41,280 --> 00:00:45,720 Brackets and doubles will be enclosed within our first brackets. 14 00:00:46,290 --> 00:00:51,180 So let us go for the what are the different differences and features of doubles? 15 00:00:51,510 --> 00:00:52,440 We're going to discuss here. 16 00:00:52,860 --> 00:00:55,890 So in many aspects, the table is similar to a list. 17 00:00:56,520 --> 00:01:01,250 But the basic difference between the two is that we cannot change the elements of a table. 18 00:01:01,290 --> 00:01:04,800 That is a table is immutable once it is assigned. 19 00:01:04,830 --> 00:01:07,770 Whereas in a list, the elements can be changed. 20 00:01:08,040 --> 00:01:09,870 That means the list is mutable. 21 00:01:12,440 --> 00:01:14,940 Advantages of double over list. 22 00:01:15,410 --> 00:01:21,010 So falling at the certain advantages of implementing it, topple over a list and below list are the 23 00:01:21,050 --> 00:01:22,460 some of the main advantages. 24 00:01:22,490 --> 00:01:23,720 So what are the advantages? 25 00:01:23,750 --> 00:01:24,350 Why should they? 26 00:01:24,620 --> 00:01:26,060 Why should I learn dapple here. 27 00:01:26,600 --> 00:01:34,010 So we generally use toppled for heterogeneous different data types and for list it is generally for 28 00:01:34,010 --> 00:01:36,510 the list will hold the homogeneous data. 29 00:01:36,830 --> 00:01:40,950 But obviously lists can also hold that heterogeneous Jackett elements. 30 00:01:41,300 --> 00:01:46,880 But actually in general, we use list to hold homogeneous data type data. 31 00:01:47,690 --> 00:01:53,570 So since staples are immutable and iterating through a couple is faster than with the list. 32 00:01:53,900 --> 00:01:56,690 So that is a slight performance boost. 33 00:01:57,140 --> 00:02:03,140 So as this double is immutable, so iterating through the toppled members will be a little bit faster. 34 00:02:03,170 --> 00:02:08,870 So we are getting some boosting of the performances so doubles that content, immutable elements can 35 00:02:08,870 --> 00:02:12,500 be used to as a key for the dictionary with list. 36 00:02:12,650 --> 00:02:19,010 It is not possible because we know that in a dictionary the key values will be all is unique in nature. 37 00:02:19,280 --> 00:02:24,650 So that's why as it gets up double as it is immutable as a data, items cannot be changed. 38 00:02:24,670 --> 00:02:26,660 The members of the tables cannot be changed. 39 00:02:26,960 --> 00:02:28,430 So that's why cannot be updated. 40 00:02:28,610 --> 00:02:32,600 So tables that contain immutable elements can be used as a key. 41 00:02:32,810 --> 00:02:37,850 For one dictionary, if you have data that does not change. 42 00:02:37,910 --> 00:02:44,480 Implementing it as dapple will guarantee that it will remain as in the read only mode. 43 00:02:46,150 --> 00:02:49,240 So there are different building functions with the help of as you can. 44 00:02:49,420 --> 00:02:52,260 We can do some processing of them, members of the tunnels. 45 00:02:52,540 --> 00:02:54,310 So forsworn is the all written through. 46 00:02:54,640 --> 00:02:59,110 If all elements of the couple are true, any return true. 47 00:02:59,140 --> 00:03:05,410 If any one of the elements of the temple is true, you do want it written and you might object. 48 00:03:05,560 --> 00:03:11,200 It contains the index and the value of all the items of the couple as pairs. 49 00:03:11,530 --> 00:03:13,780 Next one is the Lin Redonda. 50 00:03:13,990 --> 00:03:16,960 Linda, there is a number of items in the double. 51 00:03:17,410 --> 00:03:19,430 Next one is the max return the lock. 52 00:03:19,510 --> 00:03:21,880 Largest item in the double. 53 00:03:22,240 --> 00:03:24,310 Next one is the main one, the function itself. 54 00:03:24,340 --> 00:03:25,160 We are getting the part. 55 00:03:25,290 --> 00:03:26,620 What is the purpose of the function? 56 00:03:26,990 --> 00:03:30,450 So return the smallest item in that double. 57 00:03:30,520 --> 00:03:31,470 Next one is the short. 58 00:03:31,480 --> 00:03:35,680 It takes elements and the couple returns a new short list. 59 00:03:36,300 --> 00:03:38,010 And next one is some return. 60 00:03:38,020 --> 00:03:40,560 The sum of all elements in the table. 61 00:03:40,780 --> 00:03:42,460 Next one is a couple converts. 62 00:03:42,580 --> 00:03:44,190 Then you dribble list. 63 00:03:44,650 --> 00:03:46,540 It might be the string, might be the set. 64 00:03:46,840 --> 00:03:49,030 Might be additionally in to a double. 65 00:03:49,060 --> 00:03:51,250 So here we're having the type conversions. 66 00:03:51,700 --> 00:03:57,460 So now let us go for one demonstration for the better, understanding how we can use and define and 67 00:03:57,520 --> 00:04:01,780 operate with about double objects in python programming. 68 00:04:01,850 --> 00:04:04,810 A double is very much similar to a list. 69 00:04:05,320 --> 00:04:09,160 The difference between the two is that we cannot change the elements of a couple. 70 00:04:09,520 --> 00:04:13,930 Once it is assigned, whereas in the list the elements can be tensed. 71 00:04:13,990 --> 00:04:17,710 That means list is mutable and dapple is imitable. 72 00:04:18,240 --> 00:04:24,430 Now the difference here is that in Kessab least we shall inclosed about elements using tarde records 73 00:04:24,520 --> 00:04:25,390 opening and closing. 74 00:04:25,420 --> 00:04:27,520 But it goes up double will be enclosing them. 75 00:04:27,720 --> 00:04:30,210 It was in the past decade opening and the fussbudget closing. 76 00:04:30,430 --> 00:04:32,380 So that is another difference where jobs are being hit. 77 00:04:32,650 --> 00:04:38,620 So now let us discuss what are the advantages of dapple over, at least since double's have quite similar 78 00:04:38,620 --> 00:04:39,160 to list. 79 00:04:39,370 --> 00:04:43,090 So both of them can be used in similar situations as well. 80 00:04:43,810 --> 00:04:47,630 And however, there are certain advantages of implementing it. 81 00:04:47,640 --> 00:04:48,770 Dapple over the list. 82 00:04:49,240 --> 00:04:55,690 So we can consider the force advantage as that we can generally use stapel for heterogeneous, different 83 00:04:55,690 --> 00:04:56,410 data types. 84 00:04:56,770 --> 00:04:59,860 At least for homogeneous, that is of the similar data types. 85 00:04:59,890 --> 00:05:05,820 But in the previous video also we have shown you that list can take multiple different data type data. 86 00:05:06,340 --> 00:05:11,560 But it is a common practice that wherever, wherever we'll be using our variables of the different data 87 00:05:11,560 --> 00:05:15,160 types to be meant to be put in one structure. 88 00:05:15,210 --> 00:05:17,450 Then in that in that case, we'll be using the table. 89 00:05:17,920 --> 00:05:22,030 But in case up a list will be going for the homogeneous data types. 90 00:05:22,600 --> 00:05:28,320 Since doubles are immutable, so iterating through the couple will be fostered out to some extent compared 91 00:05:28,330 --> 00:05:29,350 to that of the list. 92 00:05:29,620 --> 00:05:33,070 So here we are getting some slight performance boosting. 93 00:05:33,780 --> 00:05:40,040 So topples can contain immutable items, elements and can be used as a key for our dictionary. 94 00:05:40,090 --> 00:05:47,270 So as a couple elements are immutable so it can contain the dictionary keys and just not possible Ingersol 95 00:05:47,410 --> 00:05:48,970 list as it is mutable. 96 00:05:49,660 --> 00:05:53,560 And if we have our data, which you do not want to change anymore. 97 00:05:53,920 --> 00:05:59,860 So we should implement it using dapple because in that dapple will be where we'll be keeping our data 98 00:05:59,950 --> 00:06:02,050 in a right protected format. 99 00:06:02,620 --> 00:06:04,510 So here we are having one couple. 100 00:06:04,570 --> 00:06:07,090 We are created and that is at a empty table. 101 00:06:07,120 --> 00:06:08,050 So double one. 102 00:06:08,500 --> 00:06:10,150 So it is empty table if we print. 103 00:06:10,180 --> 00:06:11,500 We are getting the output like this. 104 00:06:11,860 --> 00:06:13,420 So now we are having this double. 105 00:06:13,480 --> 00:06:18,990 We got Brint initialize with this dapple do with some integer data will be there. 106 00:06:19,150 --> 00:06:20,530 Elements will be there in the couple. 107 00:06:20,860 --> 00:06:22,510 So it has got printed like this. 108 00:06:22,780 --> 00:06:28,140 Here you are having the heterogeneous one is that it may be the implied it, maybe that is. 109 00:06:28,180 --> 00:06:33,490 But remember my name is emplace salary at a department in which he or she is working. 110 00:06:33,520 --> 00:06:36,220 So that is our department is there. 111 00:06:36,700 --> 00:06:40,480 So in this case, if we print the couple three, we are getting the outcome like this. 112 00:06:42,450 --> 00:06:46,680 Now, creation of mystic couples now will be going for the creation of mystic couples. 113 00:06:46,710 --> 00:06:49,650 You can find that this is up, but it is a string. 114 00:06:49,680 --> 00:06:52,440 But this is a list and it is another couple here. 115 00:06:52,890 --> 00:06:58,620 So one list has become the element of the couple and another couple, maybe the element of another couple. 116 00:06:59,010 --> 00:07:02,790 So Pynt couple for if you go on printing, we're getting the output like this. 117 00:07:02,810 --> 00:07:08,400 So we know that lists will be included within square brackets and couples will be enclosed within POS 118 00:07:08,400 --> 00:07:08,710 bracket. 119 00:07:08,730 --> 00:07:09,950 So that's why it is a couple. 120 00:07:10,260 --> 00:07:11,160 And it is a list. 121 00:07:11,790 --> 00:07:15,210 So double can create can be created without any penalties. 122 00:07:15,270 --> 00:07:20,230 So now you can write this one, you can find that that couples were going to wear create here. 123 00:07:20,670 --> 00:07:26,760 We haven't enclosed them within the past decades, but the couple has got created and it has got printed. 124 00:07:27,550 --> 00:07:29,700 Dapple unpacking is also possible. 125 00:07:29,790 --> 00:07:31,330 You know, that goes up double fi. 126 00:07:31,330 --> 00:07:34,740 We're having one, two, three for such a date items. 127 00:07:35,100 --> 00:07:41,970 So now we are going to assign them to imply I.D., imply name and price, implied salary and imply department 128 00:07:42,240 --> 00:07:43,710 so we can go on printing them. 129 00:07:43,770 --> 00:07:49,730 I'm getting this employee I.D. implied name implies salary and also the implied department for that 130 00:07:49,910 --> 00:07:53,050 type of the stapel fight will be a class couple. 131 00:07:53,550 --> 00:07:59,760 So in this way we can have our list are a couple as the members of another couple. 132 00:08:02,210 --> 00:08:04,670 Now we are going to access our table elements. 133 00:08:04,940 --> 00:08:11,570 So how to do that one you see here where defining one table with this welcome characters and then print 134 00:08:11,630 --> 00:08:12,500 will couple one. 135 00:08:12,530 --> 00:08:14,150 We're getting this outcome like this. 136 00:08:14,510 --> 00:08:15,770 So now table one one. 137 00:08:15,800 --> 00:08:17,390 So this is my index value. 138 00:08:17,450 --> 00:08:19,820 So we know that index will be starting from zero. 139 00:08:20,270 --> 00:08:22,040 So index one is this one. 140 00:08:22,100 --> 00:08:23,340 So it is having the value eat. 141 00:08:23,630 --> 00:08:25,820 So if I print that one, I'm getting it here. 142 00:08:25,880 --> 00:08:29,210 Similarly for here for table one three. 143 00:08:29,450 --> 00:08:32,750 So zero one two threes or C will get printed. 144 00:08:33,090 --> 00:08:34,670 And here you are printing this five. 145 00:08:34,940 --> 00:08:35,540 So zero. 146 00:08:35,630 --> 00:08:37,700 One, two, three, four, five. 147 00:08:37,970 --> 00:08:39,530 So AIM has got printed here. 148 00:08:40,100 --> 00:08:42,870 So now in that next case, we're having this nice nest. 149 00:08:42,950 --> 00:08:45,230 Couple two, we're having this point. 150 00:08:45,290 --> 00:08:46,460 And this is one Leavesden. 151 00:08:46,520 --> 00:08:47,990 And another couple is there. 152 00:08:48,500 --> 00:08:54,710 So if you go on printing this nest double to getting it printed now from the zero element, you are 153 00:08:54,710 --> 00:08:56,840 picking up the third character. 154 00:08:56,870 --> 00:09:00,560 So from the zero 10 amendments, the Gillette index means this one. 155 00:09:00,860 --> 00:09:05,120 And from the third ketamine's, we're having this one P at Zaret Place. 156 00:09:05,510 --> 00:09:07,160 So this index is one. 157 00:09:07,190 --> 00:09:09,410 This index is to this index is three. 158 00:09:09,620 --> 00:09:11,150 So any will be printed. 159 00:09:11,360 --> 00:09:13,100 And it has got printed accordingly. 160 00:09:13,670 --> 00:09:16,090 And for the next doubled to one two. 161 00:09:16,190 --> 00:09:19,020 So that means we are considering this item number one. 162 00:09:19,040 --> 00:09:20,300 Index number one is there. 163 00:09:20,660 --> 00:09:24,440 And then to do means that this particular one is at index zero. 164 00:09:24,500 --> 00:09:29,000 This two three is that index one and four is at index two here. 165 00:09:29,030 --> 00:09:30,770 So that's why Ford has got printed here. 166 00:09:31,070 --> 00:09:32,170 So Ford has got printed. 167 00:09:32,780 --> 00:09:36,670 Next one is our next one is about double two to two. 168 00:09:37,040 --> 00:09:41,000 So that means we are considering the second element and the second data. 169 00:09:41,030 --> 00:09:42,020 So what is the value here? 170 00:09:42,050 --> 00:09:43,100 So value is nine here. 171 00:09:43,160 --> 00:09:44,180 So here the well is nine. 172 00:09:44,480 --> 00:09:45,440 So I'm getting here nine. 173 00:09:45,830 --> 00:09:49,070 So in this way, you can access elements from a couple here. 174 00:09:49,580 --> 00:09:51,500 So let's go for the next example. 175 00:09:52,340 --> 00:09:54,690 Now slicing double contents. 176 00:09:54,740 --> 00:09:55,850 So it was well defined. 177 00:09:55,880 --> 00:09:59,210 One couple which is containing all the characters of the string. 178 00:09:59,270 --> 00:09:59,660 Welcome. 179 00:10:00,560 --> 00:10:02,480 So here we are going for the slicing. 180 00:10:02,480 --> 00:10:04,280 So index number one, two, three. 181 00:10:04,550 --> 00:10:06,610 So one kolon three means. 182 00:10:06,650 --> 00:10:07,370 One, two, three. 183 00:10:07,400 --> 00:10:09,260 But three will be is exclusive. 184 00:10:09,800 --> 00:10:11,390 That dominating index. 185 00:10:11,420 --> 00:10:16,790 That is up to which the index we are mentioning that is stopping index will be all is exclusive. 186 00:10:16,850 --> 00:10:21,030 So here you can pick up the characters on the index one and two three. 187 00:10:21,130 --> 00:10:23,680 Index one is E an index two is L. 188 00:10:23,750 --> 00:10:26,210 So accordingly, the values will be picked up. 189 00:10:26,870 --> 00:10:31,760 So here to see we haven't mentioned the starting index, but the ending index will be minus three. 190 00:10:32,210 --> 00:10:35,510 So this is my minus one, minus two, minus three. 191 00:10:35,570 --> 00:10:36,830 So this one minus three. 192 00:10:37,130 --> 00:10:38,000 So what did happen? 193 00:10:38,330 --> 00:10:42,620 So always remember the ending index dominating index is all is exclusive. 194 00:10:42,870 --> 00:10:47,750 So it will print all the members from index number zero two up to see here. 195 00:10:48,050 --> 00:10:52,060 So that's why we are having this one as w e l see. 196 00:10:52,130 --> 00:10:53,310 So they have what printed. 197 00:10:53,840 --> 00:10:58,430 Now, from starting with the index number three, I Abin mentioned any dominating index here. 198 00:10:58,850 --> 00:11:00,380 So index number three means zero. 199 00:11:00,470 --> 00:11:01,580 One, two, three. 200 00:11:01,790 --> 00:11:04,700 So from here it will print up to the last element. 201 00:11:04,730 --> 00:11:06,830 So that's why the outcome has come like this. 202 00:11:07,400 --> 00:11:12,290 Here to see where we haven't mentioned any kind of starting and stopping index values. 203 00:11:12,560 --> 00:11:15,290 So that's why the full couple will get printed here. 204 00:11:15,770 --> 00:11:17,090 So that is about double one. 205 00:11:17,210 --> 00:11:21,140 So print double one one, Kolon three will produce output like this. 206 00:11:21,560 --> 00:11:24,150 Then Kolon minus three will produce output. 207 00:11:24,200 --> 00:11:26,810 This one because we're are not mentioning the starting index. 208 00:11:27,050 --> 00:11:28,640 So to start from the very start. 209 00:11:29,000 --> 00:11:31,970 And they need to proceed up to minus four. 210 00:11:32,390 --> 00:11:37,300 So this is my minus one, minus two minus C and up to minus four. 211 00:11:37,580 --> 00:11:41,450 This W, E, l, c will get printed and it has got printed. 212 00:11:41,750 --> 00:11:44,060 Similarly, I've explained the other cases. 213 00:11:45,110 --> 00:11:48,190 Now we are going for this double elements which are immutable. 214 00:11:48,290 --> 00:11:51,080 So as it is of that, after creating this particular couple. 215 00:11:51,950 --> 00:11:54,620 So if we print that Apple, it will produce output like this. 216 00:11:54,860 --> 00:11:57,770 But if we go on updating its content. 217 00:11:57,800 --> 00:11:59,360 If you go on operating its content. 218 00:11:59,870 --> 00:12:02,270 So it will produce a one error message. 219 00:12:02,390 --> 00:12:04,220 You can find that there is a typewriter. 220 00:12:04,470 --> 00:12:07,790 So a couple object does not support item assignment. 221 00:12:08,090 --> 00:12:09,860 So that's why it is producing one error. 222 00:12:10,130 --> 00:12:12,780 And the name of the error is typewritten here. 223 00:12:13,580 --> 00:12:17,030 OK, so now Dapple can be reassigned. 224 00:12:17,120 --> 00:12:22,100 But you can assign a nude tuple to this same double one variable. 225 00:12:22,280 --> 00:12:24,270 So you are having this print double one. 226 00:12:24,290 --> 00:12:28,530 So this stapel one object has got initialized with the new double. 227 00:12:28,940 --> 00:12:30,830 So that is not causing any problem. 228 00:12:30,860 --> 00:12:36,830 But I am a bit is not there is not allowed because it is it is about immutable. 229 00:12:37,340 --> 00:12:42,770 So that's why if we go on printing now you see the new dapple has got assigned to the double one object. 230 00:12:44,190 --> 00:12:49,350 Next one is a concatenation of the couples, so here to see where printing this double do and double 231 00:12:49,350 --> 00:12:49,770 three. 232 00:12:50,280 --> 00:12:52,850 So now we are going for this concatenation using plus. 233 00:12:53,070 --> 00:12:55,850 So is it double one content and then double two content. 234 00:12:56,130 --> 00:12:58,170 They have got concatenated in the same table. 235 00:12:58,710 --> 00:13:02,520 So now here to see where having this particular couple and this double will. 236 00:13:02,880 --> 00:13:04,420 I'm just multiplying it by four. 237 00:13:04,440 --> 00:13:05,520 That means four times. 238 00:13:05,550 --> 00:13:06,990 This again will be there. 239 00:13:07,320 --> 00:13:10,890 This particular string again will be there and that will produce one double. 240 00:13:11,160 --> 00:13:12,840 So there is a syntax of writing. 241 00:13:15,250 --> 00:13:16,840 Deletion operation on a couple. 242 00:13:16,930 --> 00:13:18,490 So here we're having one couple here. 243 00:13:19,390 --> 00:13:24,840 So if you go for delete, dapple, do, then obviously it'll produce some either operation. 244 00:13:24,900 --> 00:13:25,190 Why? 245 00:13:25,570 --> 00:13:28,990 Because you know that that couple is immutable. 246 00:13:29,020 --> 00:13:31,770 So now what will happen if they uncheck this one? 247 00:13:31,780 --> 00:13:32,710 If I go on unchecked. 248 00:13:33,490 --> 00:13:39,640 So the error will be Opt-In is type error and that is double object does not support item deletion. 249 00:13:39,670 --> 00:13:41,410 So that is the message is getting printed. 250 00:13:42,190 --> 00:13:44,350 So that's why I'm putting this one under comment here. 251 00:13:45,010 --> 00:13:46,630 So but we can delete the end. 252 00:13:46,980 --> 00:13:53,980 So Dell double four, so that full, full or whole double fold will get eliminated, will get deleted. 253 00:13:54,340 --> 00:14:00,940 So in the in that case, if you print this stapel for it to print the Nimir and name double fold is 254 00:14:01,000 --> 00:14:02,830 not defined in the message. 255 00:14:06,580 --> 00:14:10,380 So now we are having some double mehtar, so we're having some double mentors. 256 00:14:10,900 --> 00:14:11,860 So double five. 257 00:14:12,010 --> 00:14:17,110 We're having this respective all the characters of welcome and double five that count E.. 258 00:14:17,150 --> 00:14:19,030 So to count that, how many times? 259 00:14:19,060 --> 00:14:20,530 This is awkward in here. 260 00:14:20,560 --> 00:14:26,950 So I'm getting this one as two because E has got two times in this double in the couple members. 261 00:14:27,130 --> 00:14:33,070 So now it is going for the index C so it will find out the occurrence, the index of the C character. 262 00:14:33,400 --> 00:14:34,920 So this particular C string that. 263 00:14:35,260 --> 00:14:40,480 So that's why you are getting this through here, because it is index zero, index one index to an index 264 00:14:40,480 --> 00:14:40,640 three. 265 00:14:41,110 --> 00:14:46,570 So now let me check if you have this C for another place, if we have the C for another place, then 266 00:14:46,570 --> 00:14:48,760 what will happen if we go on executing? 267 00:14:49,000 --> 00:14:55,210 I'm getting three back again because you will just check the first occurrence of this as string C in 268 00:14:55,210 --> 00:14:56,320 this particular couple here. 269 00:14:58,980 --> 00:15:00,380 So double operations. 270 00:15:00,690 --> 00:15:02,610 So here we are having this double six. 271 00:15:02,850 --> 00:15:05,030 You can find it so double sixes there. 272 00:15:05,400 --> 00:15:07,380 So now we can go for the print once. 273 00:15:13,460 --> 00:15:17,480 So these a couple six see in double six seas there. 274 00:15:17,600 --> 00:15:21,060 So that's why it is giving me the outcome to see. 275 00:15:21,170 --> 00:15:25,000 Not in double six outcome will be false in double six. 276 00:15:25,030 --> 00:15:25,310 That is. 277 00:15:25,310 --> 00:15:26,300 No, it is here. 278 00:15:26,530 --> 00:15:27,640 So it did return false. 279 00:15:28,010 --> 00:15:29,540 It not in double six. 280 00:15:29,600 --> 00:15:30,650 It will return true here. 281 00:15:33,260 --> 00:15:34,990 So it is checking the state membership. 282 00:15:35,690 --> 00:15:38,450 Next one is a tradition through couple elements. 283 00:15:38,780 --> 00:15:41,780 So here you have defined one couple here where you find one couple. 284 00:15:42,200 --> 00:15:47,690 And if you go on using this for loop, that is four letters in double six. 285 00:15:47,780 --> 00:15:49,070 We are printing this letters. 286 00:15:49,140 --> 00:15:51,220 We're getting that for each and every iteration. 287 00:15:51,530 --> 00:15:55,640 But just picking up one element from this couple members. 288 00:15:55,880 --> 00:15:58,070 And it has got assigned to this letters. 289 00:15:58,100 --> 00:16:00,770 And later, later letters is getting printed. 290 00:16:02,180 --> 00:16:04,580 So now building functions with the couples. 291 00:16:05,390 --> 00:16:06,500 So what do you find? 292 00:16:06,500 --> 00:16:07,150 One toppled. 293 00:16:07,150 --> 00:16:09,830 A couple has got printed, Max, of the couple's seven. 294 00:16:09,860 --> 00:16:15,560 So maximum element from the Staples or seventy seven has got printed minimum of couples seven. 295 00:16:15,980 --> 00:16:19,910 So here you'll will be having the value event then short at double seven. 296 00:16:19,940 --> 00:16:22,380 So they'll be remaining in the sharded form. 297 00:16:22,650 --> 00:16:25,010 The return one is in the Thomas list. 298 00:16:25,070 --> 00:16:28,070 You can find that they are enclosed within square brackets. 299 00:16:28,360 --> 00:16:34,010 Our list of Couples seven will give me that count of the elements in the couple available. 300 00:16:34,460 --> 00:16:36,020 So in this way, we have discussed that. 301 00:16:36,020 --> 00:16:37,570 What are the different operations? 302 00:16:37,580 --> 00:16:42,140 What are the different functions that they are inbuilt functions are there with the help which we can 303 00:16:42,230 --> 00:16:48,170 operate on a double and also the difference between the list and a couple we have discussed in decision. 304 00:16:48,560 --> 00:16:49,730 Thanks for watching this video.