We can I iterate over the tuple using a for loop just as we do for lists and strings.
So we have here defined a tuple B which contains these elements and letters now.
I did it or these elements using the for loop.
So for i in b.
That means for every element in b the tuple print the element.
So the for loop has been used to isolate or the element indeed tuple we've allowed discussed about the
different operations that can be performed on two points so we can apply the membership operators in
and not in on these items in a tuple we can also use the logical operators to compared to print.
So let us check if the value 5 if the tuple be using the in operator the membership operator.
So this returns the Boolean value true because the element 5 is dead in the 5 not in B returns fonts
and we can also use the logical operators on tuples say for example and will define another tuple with
the same set of values and see if the values are defined in tuple.
Same as in B.
So this is draw.
If we test if the values 1 common to less than be Should on Return true because the devalues went into
a list and the ones in tuple B next as D identity all but it does let us see if the tuple containing
these five elements is same as the triple B because this tuple is different from this lifters check
this by checking the idea the idea function gives us the memory location of this to print.
So as you can see this is the memory location.
Now let's check the memory location of the two bilby so they are different.
And that does it is in the identity operator is has returned finds when these two come back and this
is about the different operations that can be performed on Jupiter's.