New course! Every coder should learn Generative AI!
Try a free lesson+ 4
A tuple cannot ever be changed, whereas a list can be altered however you please. However, tuples are faster than lists; therefore, if you know that your data won't ever change, then it's good to use a tuple.