LogFAQs > #965263144

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, DB6, DB7, DB8, DB9, Database 10 ( 02.17.2022-12-01-2022 ), DB11, DB12, Clear
Topic List
Page List: 1
TopicITT: General Computer Coding Topic
darkmaian23
05/24/22 7:39:36 AM
#27:


ChocoboMog123 posted...
What would you do if you wanted to add another value to each key? For instance, favorite ice cream?
You'd make another dictionary, because dictionaries are key value pairs and you can't have duplicate keys. If you wanted to store a lot of different data about various users, a class that encapsulates that data would likely be most appropriate.
... Copied to Clipboard!
Topic List
Page List: 1