Posts by rogger • 63 points
1 post
-
6
votes3
answers11827
viewsQ: Use list as dictionary value using Python append() method
I have some python dictionary, and I want to assign a list as a value for each dictionary key, but I need to use the append() method to add elements, but after adding the elements to the list, the…