1 00:00:00,450 --> 00:00:09,630 We can I iterate over the tuple using a for loop just as we do for lists and strings. 2 00:00:09,630 --> 00:00:16,680 So we have here defined a tuple B which contains these elements and letters now. 3 00:00:16,710 --> 00:00:20,060 I did it or these elements using the for loop. 4 00:00:20,490 --> 00:00:25,020 So for i in b. 5 00:00:25,050 --> 00:00:35,100 That means for every element in b the tuple print the element. 6 00:00:35,160 --> 00:00:45,000 So the for loop has been used to isolate or the element indeed tuple we've allowed discussed about the 7 00:00:45,000 --> 00:00:54,400 different operations that can be performed on two points so we can apply the membership operators in 8 00:00:54,670 --> 00:01:05,930 and not in on these items in a tuple we can also use the logical operators to compared to print. 9 00:01:06,060 --> 00:01:15,600 So let us check if the value 5 if the tuple be using the in operator the membership operator. 10 00:01:16,050 --> 00:01:29,390 So this returns the Boolean value true because the element 5 is dead in the 5 not in B returns fonts 11 00:01:30,660 --> 00:01:39,890 and we can also use the logical operators on tuples say for example and will define another tuple with 12 00:01:39,900 --> 00:01:47,310 the same set of values and see if the values are defined in tuple. 13 00:01:47,420 --> 00:01:50,550 Same as in B. 14 00:01:50,700 --> 00:01:52,630 So this is draw. 15 00:01:52,950 --> 00:02:06,000 If we test if the values 1 common to less than be Should on Return true because the devalues went into 16 00:02:06,020 --> 00:02:16,070 a list and the ones in tuple B next as D identity all but it does let us see if the tuple containing 17 00:02:16,070 --> 00:02:30,960 these five elements is same as the triple B because this tuple is different from this lifters check 18 00:02:30,960 --> 00:02:40,290 this by checking the idea the idea function gives us the memory location of this to print. 19 00:02:40,770 --> 00:02:43,960 So as you can see this is the memory location. 20 00:02:44,070 --> 00:02:50,800 Now let's check the memory location of the two bilby so they are different. 21 00:02:50,870 --> 00:03:03,300 And that does it is in the identity operator is has returned finds when these two come back and this 22 00:03:03,300 --> 00:03:08,760 is about the different operations that can be performed on Jupiter's.