I am trying to extract certain values from a dictionary and display it a specific way. I'll show you my code example below:
dict = [{'Titel': 'Rush', 'Name': 'Floris', 'Starttime': '20:30', 'Email': '[email protected]', 'Supplier': 'RTL8', 'Surname': 'Cake', 'Code': 'ABC123'},
{'Titel': 'Rush', 'Voornaam': 'Jaron', 'Starttime': '20:30', 'Email': '[email protected]', 'Supplier': 'RTL8', 'Surname': 'Pie', 'Code': 'XYZ123'},
{'Titel': 'Underneath', 'Name': 'Klaas', 'Starttime': '04:00', 'Email': '[email protected]', 'Supplier': 'RTL8', 'Surname': 'Klassie', 'Code': 'fbhwuq8674'}]
That is my dictionary. What I want as output is:
Titel, Starttime,
Surname, Name, Email
So it would look like this:
Rush, 20:30,
Cake, Floris, [email protected]
Pie, Jaron, [email protected]
Underneath, 04:00,
Klassie, Klaas, [email protected]