#compsci #python The tuple object is roughly like a list that is immutable - a string-like list. ## Operations ### Basic Tuples are coded in parenthess, support arbitrary types, nesting, and the usual sequence operations: ```python T=(1,2,3,4) len(T) # 4 ``` Tuples also have 2 type-specific methods: ```python T.index(4) # 3 : 4 appears at offset 3 T.count(4) # 1 : 4 appears once ```