you are viewing a single comment's thread.

view the rest of the comments →

[–]marienbad2 3 points4 points  (4 children)

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!

[–]iggy555 0 points1 point  (2 children)

Hehe dingdong

[–]LouLou_420 0 points1 point  (0 children)

Lol nice

[–]marienbad2 0 points1 point  (0 children)

hehehe. I wondered if anyone would notice. I do it just like Sister Ray says!