+ 1

I dont quite remember... Can you add more than one value to a key in a dictionary, or should you just use lists?

Yeah ^^^

9th Nov 2018, 12:09 AM
DrChicken24
DrChicken24 - avatar
2 Antworten
+ 6
You can pass a value for your key that is a list with a lots of elements. Edit: Here an example https://code.sololearn.com/czPmts1b73i0/?ref=app
9th Nov 2018, 12:44 AM
Anya
Anya - avatar
+ 2
Anya ok, thanks for the reminder.
9th Nov 2018, 1:04 AM
DrChicken24
DrChicken24 - avatar