I have following dictionary:
[{'author__name': 'Alexandre Dumas', 'title': 'The Three Musketeer'}, {'author__name': 'Alexandre Dumas', 'title': 'The Count of Monte Cristo'}, {'author__name': 'Leo Tolstoy', 'title': 'Resurrection'}, {'author__name': 'Leo Tolstoy', 'title': 'War and Peace'}, {'author__name': 'Leo Tolstoy', 'title': 'Anna Karenina'}]
I want the output to be
Leo Tolstoy: “War and Peace”, “Anna Karenina”, “Resurrection”
Alexandre Dumas: “The Three Musketeers”, “The Count of Monte Cristo”
What can be the most efficient way to do that. I'm new to python, any sort of help will be very appreciated.
Thanks in advance.