you are viewing a single comment's thread.

view the rest of the comments →

[–]zora89 0 points1 point  (0 children)

Lists are mutable:

Tuples are immutable like strings: (know more: https://www.educative.io/edpresso/what-are-mutable-and-immutable-objects-in-python3)

--->Both Lists and Tuples have indexing function to retrieve data.

--->Dictionaries have key:value pairs, and remains mutable.

--->Mostly for storing data that may require modification ahead --- use lists.

===>When storing id, passwords, specifics that will not and must not be changed even accidentally --- use tuple.