Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 50)
50.
How can you check if two tuples are equal?
tuple1.equals(tuple2)
tuple1 == tuple2
tuple1.compare(tuple2)
tuple1 is tuple2
Answer: Option
Explanation:
The '==' operator is used to check if two tuples are equal.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.