✅ struggling with basic dictionary and lists....
im practicing on projects by making a libary system
i basically have a list of users. i want to assign each user a bunch of books , so ive made an empty list for each user to act as the key for the dictionary.
i want it so when i type the user name it acts as the key to the dictionary and allow me to add a book to the string list in the dictionary.
but im struggling to put it all together
The lists im using have are shown in the SS, and the relevant section im working on is also shown
i basically have a list of users. i want to assign each user a bunch of books , so ive made an empty list for each user to act as the key for the dictionary.
i want it so when i type the user name it acts as the key to the dictionary and allow me to add a book to the string list in the dictionary.
but im struggling to put it all together
The lists im using have are shown in the SS, and the relevant section im working on is also shown

