sequences sequences are ordered sets of objects indexed by non-negative integers lists and tuples are sequences of arbitrary objectsstrings are sequences of characters stringtupleand range objects are immutable all sequence types have number of operations in common for all sequencesthe indexing and slicing operators apply as described in the previous note that for the immutable typesany operation will only return value rather than actually change the value all sequences have the following methodsmethod description len(snumber of elements in min( [,default=objkey=func]the minimum value in (alphabetically for stringsmax( [,default=objkey=func]maximum value in (alphabetically for stringssum( ,[,start= ]the sum of the elements (returns typeerror if is not numericall(sreturns true if all elements in are true (that isnot falseor nullany(schecks whether any item in is true in additionall sequences support the following operationsoperation description concatenates two sequences of the same type make copies of swhere is an integer vn unpacks variables from to and so on [iindexing-returns element of [ : :strideslicing returns elements between and with optional stride in returns true if element is in not in returns true if element is not in