Jul 16, 2024
[]
()
class 'list'
and class 'tuple'
respectively.myList[0] = 'Chuck'
myTuple = (1, 2, 3)
myTuple[0] = 'Chuck' # Error
timeit
module:
tup = ("Network Chuck", 30, "Coffee")
name, age, drink = tup
single_item_tuple = "item",