tuple.find(element)
tuple.search(element)
tuple.index(element)
tuple.locate(element)
index()
Discuss About this Question.
tuple(('a', 'b', 'c'))[::-1]
('a', 'b', 'c')
('c', 'b', 'a')
['c', 'b', 'a']
[::-1]
tuple.length()
tuple.size()
len(tuple)
length(tuple)
len()
tuple('hello')
('h', 'e', 'l', 'l', 'o')
(104, 101, 108, 108, 111)
('hello')
['h', 'e', 'l', 'l', 'o']
tuple()
max(('apple', 'orange', 'banana'))
TypeError
max()
To install on iPhone/iPad: tap Share → Add to Home Screen.
Discuss About this Question.