Computer Science, asked by amitanand2718, 10 months ago

What methods can be used with the tuple object?
1. Append
2.Max
3. reverse
4. Sorted

Answers

Answered by pritam20ps05
0

Answer:

I thing its option 1 as in lists it is applicable.

Answered by lovingheart
0

Answer:

Max(), reverse(), Sorted()  methods can be used with the tuple object

Explanation:

A tuple is similar to a list but the only difference is that it is data cannot be altered in tuple once it is assigned whereas it is possible in list.

A tuple data is declared by separating items using comma and it is always a good practice to enclose data within parenthesis.

max() – returns largest element

reversed() – returns reversed iterator

Sorted() – returns sorted list

Since tuple cannot be altered append of data is not possible.

Similar questions