/* ............... START ............... */
tupleExample = ("Mathew", "John", "James")
print(tupleExample)
print(len(tupleExample))
/*
('Mathew', 'John', 'James')
3
*/
tuple1 = ("apple", "banana", "cherry")
tuple2 = (1, 5, 7, 9, 3)
tuple3 = (True, False, False)
print(tuple1)
print(tuple2)
print(tuple3)
/*
('apple', 'banana', 'cherry')
(1, 5, 7, 9, 3)
(True, False, False)
*/
tuple1 = ("abc", 34, True, 40, "male")
print(tuple1)
/*
('abc', 34, True, 40, 'male')
*/
/* ............... END ............... */
python tuple methods, What is tuple, Python Tuples Example