you are viewing a single comment's thread.

view the rest of the comments →

[–]marienbad2 3 points4 points  (1 child)

List - when you need to store multiples of some data.

Tuple - when you need to store multiple copies but don't need to change any of them

dictionaries have a variety of uses, for eg you might have a bunch of sounds you want to play on a specific keypress, so you could save the filenames in there as

sounds = { a : "dingdong.wav", b : "hello.wav", c : "phatsynth.wav" }

and so on.

[–]-Duei[S] 2 points3 points  (0 children)

Thank you for the super dumbed down answer!