In Python I can append values to a list using the append() function among other things, but with tuples this all changes and the way they are handled is different. Its structure seems very similar to that of a list, and I would like to know its usefulness or purpose.
Tuples in Python have this structure:
a = (1,2,3,4)
While the lists is another:
b = [1,2,3,4]
I would be grateful if someone could explain to me why tuples are necessary in Python and in what cases they should be used.