Python Tuple Methods
Tuples barely have methods because they cannot change. count(x) tells how many times x appears. index(x) tells the first position. That is the whole everyday list. To “change” a tuple you build a new one from pieces: t[:1] + (9,).
Contrast with list: list has append, pop, sort. Tuple does not. If they ask why, say immutability. Don’t invent tuple.append in the viva.
Python Tuple Methods — output — 2 then 3. count how many 2s; index of 3.
point = (3, 4) immutable
x=3 y=4Exam tip
Why tuples have fewer methods than lists.